diff options
-rw-r--r-- | sys/net/if_ppp.c | 4 | ||||
-rw-r--r-- | sys/netinet/raw_ip.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c index 24c381a..462b7c5 100644 --- a/sys/net/if_ppp.c +++ b/sys/net/if_ppp.c @@ -716,8 +716,8 @@ pppsioctl(ifp, cmd, data) case SIOCSIFMTU: /* - * XXXRW: Isn't this suser() check redundant to the one at the ifnet - * layer? + * XXXRW: Isn't this priv_check() check redundant to the one at the + * ifnet layer? */ error = priv_check(td, PRIV_NET_SETIFMTU); if (error) diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index cd0f64a..1a1b4e0 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -349,7 +349,7 @@ rip_output(struct mbuf *m, struct socket *so, u_long dst) * after it gives up privilege, so some caution is required. For options * passed down to the IP layer via ip_ctloutput(), checks are assumed to be * performed in ip_ctloutput() and therefore no check occurs here. - * Unilaterally checking suser() here breaks normal IP socket option + * Unilaterally checking priv_check() here breaks normal IP socket option * operations on raw sockets. * * When adding new socket options here, make sure to add access control |