freebsd-dev/sys/miscfs
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
..
deadfs Return ENOTTY instead of EBADF for ioctls on dead vnodes. This fixes 1998-11-22 09:19:07 +00:00
devfs Suser() simplification: 1999-04-27 11:18:52 +00:00
fdesc Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 22:42:27 +00:00
fifofs Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
kernfs Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 22:42:27 +00:00
nullfs Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 00:57:57 +00:00
portal Remove declarations for undefined functions and a couple of unused 1999-01-12 11:49:30 +00:00
procfs Suser() simplification: 1999-04-27 11:18:52 +00:00
specfs Catch a case spotted by Tor where files mmapped could leave garbage in the 1999-04-05 19:38:30 +00:00
umapfs Suser() simplification: 1999-04-27 11:18:52 +00:00
union This code got moved as a result of confusion between union mounts and 1999-02-28 16:13:25 +00:00