artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c465b00
)
pledge "tty" can allow ioctl TIOCEXCL on a tty
author
deraadt
<deraadt@openbsd.org>
Wed, 14 Oct 2015 04:05:43 +0000
(
04:05
+0000)
committer
deraadt
<deraadt@openbsd.org>
Wed, 14 Oct 2015 04:05:43 +0000
(
04:05
+0000)
sys/kern/kern_pledge.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_pledge.c
b/sys/kern/kern_pledge.c
index
8da95a6
..
c36ae6b
100644
(file)
--- a/
sys/kern/kern_pledge.c
+++ b/
sys/kern/kern_pledge.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_pledge.c,v 1.2
3 2015/10/14 03:27:02
deraadt Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.2
4 2015/10/14 04:05:43
deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@
-1086,6
+1086,7
@@
pledge_ioctl_check(struct proc *p, long com, void *v)
case TIOCSWINSZ:
case TIOCSBRK: /* cu */
case TIOCCDTR: /* cu */
+ case TIOCEXCL: /* cu */
case TIOCSETA: /* cu, ... */
case TIOCSETAW: /* cu, ... */
case TIOCSETAF: /* tcsetattr TCSAFLUSH, script */