Fix typo in sandbox code, that got out after release
http://lists.mindrot.org/pipermail/openssh-unix-dev/2017-March/035879.html
This commit is contained in:
parent
17b491b307
commit
09320cf61a
13
openssh-7.5p1-sandbox-typo.patch
Normal file
13
openssh-7.5p1-sandbox-typo.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
|
||||
index 3a1aedce72c2..a8d472a63ccb 100644
|
||||
--- a/sandbox-seccomp-filter.c
|
||||
+++ b/sandbox-seccomp-filter.c
|
||||
@@ -235,7 +235,7 @@ static const struct sock_filter preauth_insns[] = {
|
||||
* x86-64 syscall under some circumstances, e.g.
|
||||
* https://bugs.debian.org/849923
|
||||
*/
|
||||
- SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT);
|
||||
+ SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT),
|
||||
#endif
|
||||
|
||||
/* Default deny */
|
@ -228,6 +228,8 @@ Patch942: openssh-7.2p2-chroot-capabilities.patch
|
||||
Patch944: openssh-7.3p1-x11-max-displays.patch
|
||||
# Help systemd to track the running service
|
||||
Patch948: openssh-7.4p1-systemd.patch
|
||||
# Fix typo in sandbox code
|
||||
Patch949: openssh-7.5p1-sandbox-typo.patch
|
||||
|
||||
|
||||
License: BSD
|
||||
@ -463,6 +465,7 @@ popd
|
||||
%patch942 -p1 -b .chroot-cap
|
||||
%patch944 -p1 -b .x11max
|
||||
%patch948 -p1 -b .systemd
|
||||
%patch949 -p1 -b .sandbox
|
||||
|
||||
%patch200 -p1 -b .audit
|
||||
%patch201 -p1 -b .audit-race
|
||||
|
Loading…
Reference in New Issue
Block a user