diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2016-03-21 22:41:30 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2016-03-21 22:41:30 +0000 |
commit | a81086228df307910c2ce8786eaecbf2ff6473b7 (patch) | |
tree | 7ca04feb1e13c26056b2b91a0ee8a71d7928b447 /sys/kern/kern_pledge.c | |
parent | 9e84a29559e17e7ae7ef578ff556f97af16c227b (diff) |
Rename the system call sendsyslog2 to sendsyslog. Keep the old one
as osendsyslog for a while. The three argument variant is the only
one that will stay.
input kettenis@; OK deraadt@
Diffstat (limited to 'sys/kern/kern_pledge.c')
-rw-r--r-- | sys/kern/kern_pledge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c index 1c711883fdf..9c22ad8a6c2 100644 --- a/sys/kern/kern_pledge.c +++ b/sys/kern/kern_pledge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_pledge.c,v 1.158 2016/03/16 06:46:39 ratchov Exp $ */ +/* $OpenBSD: kern_pledge.c,v 1.159 2016/03/21 22:41:29 bluhm Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -108,7 +108,7 @@ const uint64_t pledge_syscalls[SYS_MAXSYSCALL] = { [SYS___get_tcb] = PLEDGE_ALWAYS, [SYS_pledge] = PLEDGE_ALWAYS, [SYS_sendsyslog] = PLEDGE_ALWAYS, /* stack protector reporting */ - [SYS_sendsyslog2] = PLEDGE_ALWAYS, /* stack protector reporting */ + [SYS_osendsyslog] = PLEDGE_ALWAYS, /* obsolete sendsyslog */ [SYS_thrkill] = PLEDGE_ALWAYS, /* raise, abort, stack pro */ [SYS_utrace] = PLEDGE_ALWAYS, /* ltrace(1) from ld.so */ |