freebsd-nq/sys/ufs
Poul-Henning Kamp f711d546d2 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
..
ffs Reorganize locking to avoid holding the lock during calls to bdwrite 1999-03-02 06:38:07 +00:00
mfs Change type of a variable from u_int to size_t, so that pointer to it may be 1999-04-21 09:41:07 +00:00
ufs Suser() simplification: 1999-04-27 11:18:52 +00:00