1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/netatm
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
..
ipatm Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 22:42:27 +00:00
sigpvc Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 22:42:27 +00:00
spans Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 00:57:57 +00:00
uni Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 00:57:57 +00:00
atm_aal5.c Copy application name and connection attributes for accept() sockets from 1998-12-11 21:47:21 +00:00
atm_cm.c Fix if (a = b) conditional that should have been if (a == b) 1999-01-27 22:16:46 +00:00
atm_cm.h
atm_device.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
atm_if.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 22:42:27 +00:00
atm_if.h
atm_ioctl.h
atm_pcb.h
atm_proto.c Trivial stylish changes, mostly to silence gcc. 1998-10-31 20:07:01 +00:00
atm_sap.h
atm_sigmgr.h
atm_signal.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 00:57:57 +00:00
atm_socket.c Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
atm_stack.h
atm_subr.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-27 22:42:27 +00:00
atm_sys.h
atm_usrreq.c Suser() simplification: 1999-04-27 11:18:52 +00:00
atm_var.h
atm_vc.h
atm.h
kern_include.h
port.h
queue.h