diff options
| author | kiyohara <kiyohara@NetBSD.org> | 2007-03-12 14:12:13 +0000 |
|---|---|---|
| committer | kiyohara <kiyohara@NetBSD.org> | 2007-03-12 14:12:13 +0000 |
| commit | 4ecba574db80c80f1994f6efc2305b221eb98fa0 (patch) | |
| tree | 308be29dcbfdb8f2d9093d848b8aefd06bb0f7bd /sys/dev/bluetooth | |
| parent | 0b5d7fc8ba57131d57b126f73c9641ea3cdc46fb (diff) | |
Not KAUTH_DEVICE_TTY_OPEN but KAUTH_GENERIC_ISSUSER is used.
Diffstat (limited to 'sys/dev/bluetooth')
| -rw-r--r-- | sys/dev/bluetooth/btuart.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/bluetooth/btuart.c b/sys/dev/bluetooth/btuart.c index 7244b970d90..623179904dc 100644 --- a/sys/dev/bluetooth/btuart.c +++ b/sys/dev/bluetooth/btuart.c @@ -1,4 +1,4 @@ -/* $NetBSD: btuart.c,v 1.3 2007/03/06 19:50:28 plunky Exp $ */ +/* $NetBSD: btuart.c,v 1.4 2007/03/12 14:12:13 kiyohara Exp $ */ /* * Copyright (c) 2006, 2007 KIYOHARA Takashi * All rights reserved. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: btuart.c,v 1.3 2007/03/06 19:50:28 plunky Exp $"); +__KERNEL_RCSID(0, "$NetBSD: btuart.c,v 1.4 2007/03/12 14:12:13 kiyohara Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -1066,7 +1066,7 @@ bth4open(dev_t device __unused, struct tty *tp) static char name[] = "btuart"; if ((error = kauth_authorize_device_tty(l->l_cred, - KAUTH_DEVICE_TTY_OPEN, tp)) != 0) + KAUTH_GENERIC_ISSUSER, tp)) != 0) return error; s = spltty(); |
