Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 9590 Details for
Bug 14678
set of patches for djbdns
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixes a little bug for grsecurity-enabled kernels that don't allow fchrooting out of already established chroot.
djbdns-1.05-r3-grsec-patch.diff (text/plain), 357 bytes, created by
Stanislav Karchebny
on 2003-03-19 05:11:25 UTC
(
hide
)
Description:
fixes a little bug for grsecurity-enabled kernels that don't allow fchrooting out of already established chroot.
Filename:
MIME Type:
Creator:
Stanislav Karchebny
Created:
2003-03-19 05:11:25 UTC
Size:
357 bytes
patch
obsolete
>--- roots.c.old 2001-02-12 02:11:45.000000000 +0500 >+++ roots.c 2003-02-04 11:32:08.000000000 +0500 >@@ -121,7 +121,7 @@ > fddir = open_read("."); > if (fddir == -1) return 0; > r = init1(); >- if (fchdir(fddir) == -1) r = 0; >+ if (chdir("/") == -1) r = 0; // chdir to chrooted root, otherwise kernel grsec will complain > close(fddir); > return r; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 14678
:
7713
| 9590