search for: setfscreatecon

Displaying 9 results from an estimated 9 matches for "setfscreatecon".

2011 Mar 31
1
[v1 PATCH 0/1] Review request for a memory leak fix for openssh
---------------------------------------------------- Summary: fix a memory leak for Openssh ---------------------------------------------------- Upstream Project Name: OpenSSH Upstream Project URL: anoncvs at anoncvs.mindrot.org:/cvs Applies to: anoncvs at anoncvs.mindrot.org:/cvs Brief Description: the memory which is allocated by matchpathcon should be freed after it is used Will Submit to:
2011 Mar 31
0
[v1 PATCH 1/1] Free memory
...atchpathcon should be freed after it is used Signed-off-by: Roy Li <rongqing.li at windriver.com> --- openbsd-compat/port-linux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/openbsd-compat/port-linux.c +++ b/openbsd-compat/port-linux.c @@ -217,8 +217,10 @@ ssh_selinux_setfscreatecon(const char *p setfscreatecon(NULL); return; } - if (matchpathcon(path, 0700, &context) == 0) + if (matchpathcon(path, 0700, &context) == 0) { setfscreatecon(context); + freecon(context); + } } #endif /* WITH_SELINUX */
2011 May 18
1
Bug found in openssh 5.8p1 source
...t;Match" operator. The configure went well (once I had satisfied all the requirements). Upon compiling, however, I hit a syntax error in one of the files. In "openbsd-compat/port-linux.c", line 216 is missing an opening "{". WAS: if (path == NULL) setfscreatecon(NULL); return; } SHOULD BE: if (path == NULL) { setfscreatecon(NULL); return; } Just thought you should know. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigita...
2011 May 20
0
[patch] the memory which is allocated by matchpathcon should be freed after it is useless
...athcon should be freed after it is useless Signed-off-by: Roy Li <rongqing.li at windriver.com> --- openbsd-compat/port-linux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/openbsd-compat/port-linux.c +++ b/openbsd-compat/port-linux.c @@ -217,8 +217,10 @@ ssh_selinux_setfscreatecon(const char *p setfscreatecon(NULL); return; } - if (matchpathcon(path, 0700, &context) == 0) + if (matchpathcon(path, 0700, &context) == 0) { setfscreatecon(context); + freecon(context); + } } #endif /* WITH_SELINUX */
2011 Jan 24
10
[Bug 1850] New: Build fails when SELinux is enabled
...ponent: Build system AssignedTo: unassigned-bugs at mindrot.org ReportedBy: leonardo at ngdn.org Created attachment 1983 --> https://bugzilla.mindrot.org/attachment.cgi?id=1983 openssh-5.7p1-selinux.diff SSH client 5.7p1 calls SELinux specific functions such as matchpathcon, setfscreatecon and setfscreatecon but the configure script is not linking the 'ssh' binary against the SELinux library, so the build fails with undefined references. The attached patch is just a suggestion. It works here, but I'm not sure if it's correct according to Autoconf standards. -- Conf...
2011 Feb 11
0
openssh-5.8p1 does not compille with --with-selinux
Hi there is unpaired brackets in port_linux_compat.c in ssh_selinux_setfscreatecon if (path == NULL) setfscreatecon(NULL); return; } -- JFCh <jchadima at redhat.com>
2011 Feb 04
1
Announce: OpenSSH 5.8 released
OpenSSH 5.8 has just been released. It will be available from the mirrors listed at http://www.openssh.com/ shortly. OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0 implementation and includes sftp client and server support. Once again, we would like to thank the OpenSSH community for their continued support of the project, especially those who contributed code or patches,
2011 Jan 24
1
Announce: OpenSSH 5.7 released
OpenSSH 5.7 has just been released. It will be available from the mirrors listed at http://www.openssh.com/ shortly. OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0 implementation and includes sftp client and server support. Once again, we would like to thank the OpenSSH community for their continued support of the project, especially those who contributed code or patches,
2009 May 03
6
[RFC] The reflink(2) system call.
Hi everyone, I described the reflink operation at the Linux Storage & Filesystems Workshop last month. Originally implemented as an ocfs2-specific ioctl, the consensus was that it should be a syscall from the get-go. Here's some first-cut patches. For people who have not seen reflink, either at LSF or on the ocfs2 wiki, the first patch contains Documentation/filesystems/reflink.txt to