cvs commit: src/sys/kern kern_prot.c

Robert Watson rwatson at
Thu Jul 22 10:05:05 PDT 2004

rwatson     2004-07-22 17:05:04 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_prot.c 
  suser() accepts a thread argument; as suser() dereferences td_ucred, a
  thread-local pointer, in practice that thread needs to be curthread.  If
  we're running with INVARIANTS, generate a warning if not.  If we have
  KDB compiled in, generate a stack trace.  This doesn't fire at all in my
  local test environment, but could be irritating if it fires frequently
  for someone, so there will be motivation to fix things quickly when it
  Revision  Changes    Path
  1.185     +12 -0     src/sys/kern/kern_prot.c

More information about the cvs-src mailing list