Re: sysctl_proc calls handler twice

From: Pawel Jakub Dawidek (pjd_at_FreeBSD.org)
Date: 08/16/05

  • Next message: Poul-Henning Kamp: "Re: sysctl_proc calls handler twice"
    Date: Tue, 16 Aug 2005 15:33:07 +0200
    To: Bruce Evans <bde@zeta.org.au>
    
    
    

    On Tue, Aug 16, 2005 at 11:17:21PM +1000, Bruce Evans wrote:
    +> No, just don't call it twice like sysctl(8) if you know the size in advance
    +> or from a previous call (and know that it won't change or handle the error
    +> from it changing...).

    Thread's author, as I understand/guess it, represents kernel side.
    He doesn't want his handler to be called twice and tools like sysctl(8)
    are not able to know size of every sysctl, so he just has to be ready
    that his handler will be called twice.

    -- 
    Pawel Jakub Dawidek                       http://www.wheel.pl
    pjd@FreeBSD.org                           http://www.FreeBSD.org
    FreeBSD committer                         Am I Evil? Yes, I Am!
    
    



  • Next message: Poul-Henning Kamp: "Re: sysctl_proc calls handler twice"

    Relevant Pages