freebsd-skq/sys/dev/wl
phk 16e3fbd2c1 Suser() simplification:
1:
  s/suser/suser_xxx/

2:
  Add new function: suser(struct proc *), prototyped in <sys/proc.h>.

3:
  s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/

The remaining suser_xxx() calls will be scrutinized and dealt with
later.

There may be some unneeded #include <sys/cred.h>, but they are left
as an exercise for Bruce.

More changes to the suser() API will come along with the "jail" code.
1999-04-27 11:18:52 +00:00
..
if_wl.c Suser() simplification: 1999-04-27 11:18:52 +00:00
if_wl.h Someday I hope people will learn that "#endif" is not a comment 1998-12-09 03:30:52 +00:00