projects
/
12.09
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
branch Attitude Adjustment packages
[12.09/packages.git]
/
net
/
openntpd
/
patches
/
003-no_permission_check.patch
1
--- a/ntp.c
2
+++ b/ntp.c
3
@@ -111,8 +111,6 @@ ntp_main(int pipe_prnt[2], struct ntpd_c
4
5
if (stat(chrootdir, &stb) == -1)
6
fatal("stat");
7
- if (stb.st_uid != 0 || (stb.st_mode & (S_IWGRP|S_IWOTH)) != 0)
8
- fatal("bad privsep dir permissions");
9
if (chroot(chrootdir) == -1)
10
fatal("chroot");
11
if (chdir("/") == -1)