diff options
author | Colin Percival <cperciva@FreeBSD.org> | 2004-07-26 07:24:04 +0000 |
---|---|---|
committer | Colin Percival <cperciva@FreeBSD.org> | 2004-07-26 07:24:04 +0000 |
commit | 56f21b9d74a516a6c2f67d09e1b6c588bfa54c6a (patch) | |
tree | e24e86995427678a1313e8f62cc17f84bdcaf82b /sys/netinet/udp_usrreq.c | |
parent | 726dc81dee1abe2bcaae749a9680a4693a4b451f (diff) | |
download | src-56f21b9d74a516a6c2f67d09e1b6c588bfa54c6a.tar.gz src-56f21b9d74a516a6c2f67d09e1b6c588bfa54c6a.zip |
Rename suser_cred()'s PRISON_ROOT flag to SUSER_ALLOWJAIL. This is
somewhat clearer, but more importantly allows for a consistent naming
scheme for suser_cred flags.
The old name is still defined, but will be removed in a few days (unless I
hear any complaints...)
Discussed with: rwatson, scottl
Requested by: jhb
Notes
Notes:
svn path=/head/; revision=132653
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r-- | sys/netinet/udp_usrreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 0997f9ad5db5..fc146d4ac41b 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -684,7 +684,7 @@ udp_getcred(SYSCTL_HANDLER_ARGS) struct inpcb *inp; int error, s; - error = suser_cred(req->td->td_ucred, PRISON_ROOT); + error = suser_cred(req->td->td_ucred, SUSER_ALLOWJAIL); if (error) return (error); error = SYSCTL_IN(req, addrs, sizeof(addrs)); |