freebsd-skq/sys/compat
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
..
linux Suser() simplification: 1999-04-27 11:18:52 +00:00
netbsd Changed inline' to __inline' so that this file can be compiled by 1998-02-03 20:14:35 +00:00
svr4 Suser() simplification: 1999-04-27 11:18:52 +00:00