Bugzilla – Attachment 2401 Details for
Bug 2140
Capsicum support for FreeBSD 10 (-current)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
disable setrlimit(RLIMIT_NOFILE, 0)
file_2140.txt (text/plain), 924 bytes, created by
Loganaden Velvindron
on 2014-01-25 17:25:43 AEDT
(
hide
)
Description:
disable setrlimit(RLIMIT_NOFILE, 0)
Filename:
MIME Type:
Creator:
Loganaden Velvindron
Created:
2014-01-25 17:25:43 AEDT
Size:
924 bytes
patch
obsolete
>Index: sandbox-capsicum.c >=================================================================== >RCS file: /cvs/openssh/sandbox-capsicum.c,v >retrieving revision 1.2 >diff -u -p -r1.2 sandbox-capsicum.c >--- sandbox-capsicum.c 18 Jan 2014 11:12:16 -0000 1.2 >+++ sandbox-capsicum.c 25 Jan 2014 06:17:50 -0000 >@@ -75,9 +75,10 @@ ssh_sandbox_child(struct ssh_sandbox *bo > if (setrlimit(RLIMIT_FSIZE, &rl_zero) == -1) > fatal("%s: setrlimit(RLIMIT_FSIZE, { 0, 0 }): %s", > __func__, strerror(errno)); >- if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) >+ /* Opencrypto requires a file descriptor on FreeBSD */ >+ /* if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) > fatal("%s: setrlimit(RLIMIT_NOFILE, { 0, 0 }): %s", >- __func__, strerror(errno)); >+ __func__, strerror(errno)); */ > if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) > fatal("%s: setrlimit(RLIMIT_NPROC, { 0, 0 }): %s", > __func__, strerror(errno));
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 2140
:
2326
|
2352
|
2364
|
2365
|
2371
|
2397
|
2398
| 2401 |
2405