Return to scn.c CVS log | Up to [cvs.NetBSD.org] / src / sys / arch / pc532 / dev |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.75, 2006/10/01 18:56:22 | version 1.76, 2006/10/01 20:31:50 | ||
---|---|---|---|
|
|
||
case TIOCSFLAGS:{ | case TIOCSFLAGS:{ | ||
int userbits, driverbits = 0; | int userbits, driverbits = 0; | ||
error = kauth_authorize_generic(l->l_cred, | error = kauth_authorize_device_tty(l->l_cred, | ||
KAUTH_GENERIC_ISSUSER, &l->l_acflag); | KAUTH_DEVICE_TTY_PRIVSET, tp); | ||
if (error != 0) | if (error != 0) | ||
return (EPERM); | return (EPERM); | ||