[BACK]Return to cons.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/cons.c between version 1.68 and 1.68.4.1

version 1.68, 2011/02/08 20:20:26 version 1.68.4.1, 2012/04/17 00:07:25
Line 184  cnioctl(dev_t dev, u_long cmd, void *dat
Line 184  cnioctl(dev_t dev, u_long cmd, void *dat
          * output from the "virtual" console.           * output from the "virtual" console.
          */           */
         if (cmd == TIOCCONS && constty != NULL) {          if (cmd == TIOCCONS && constty != NULL) {
                 error = kauth_authorize_generic(l->l_cred,                  error = kauth_authorize_device_tty(l->l_cred,
                     KAUTH_GENERIC_ISSUSER, NULL);                      KAUTH_DEVICE_TTY_VIRTUAL, constty);
                 if (!error)                  if (!error)
                         constty = NULL;                          constty = NULL;
                 return (error);                  return (error);

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.68.4.1

CVSweb <webmaster@jp.NetBSD.org>