Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 378862 Details for
Bug 513202
net-misc/networkmanager-openvpn-0.9.8.4 - add support to drop root privileges and chroot
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against sources to add --user ... --group ... --chroot ... to the command line
0001-Add-uid-gid-and-chroot-separation.patch (text/plain), 861 bytes, created by
Matthias Maier
on 2014-06-14 10:47:36 UTC
(
hide
)
Description:
Patch against sources to add --user ... --group ... --chroot ... to the command line
Filename:
MIME Type:
Creator:
Matthias Maier
Created:
2014-06-14 10:47:36 UTC
Size:
861 bytes
patch
obsolete
>From: Matthias Maier <tamiko@kyomu.43-1.org> >Date: Sat, 14 Jun 2014 11:51:59 +0200 >Subject: [PATCH] Add uid/gid and chroot separation > >--- > src/nm-openvpn-service.c | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/src/nm-openvpn-service.c b/src/nm-openvpn-service.c >index 7b4cbd7..9208e0b 100644 >--- a/src/nm-openvpn-service.c >+++ b/src/nm-openvpn-service.c >@@ -1058,6 +1058,13 @@ nm_openvpn_start_openvpn_binary (NMOpenvpnPlugin *plugin, > return FALSE; > } > >+ add_openvpn_arg (args, "--user"); >+ add_openvpn_arg (args, "nm-openvpn"); >+ add_openvpn_arg (args, "--group"); >+ add_openvpn_arg (args, "nm-openvpn"); >+ add_openvpn_arg (args, "--chroot"); >+ add_openvpn_arg (args, "/var/lib/openvpn/chroot"); >+ > g_ptr_array_add (args, NULL); > > if (!g_spawn_async (NULL, (char **) args->pdata, NULL, >-- >1.8.5.5 >
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 513202
: 378862