diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-11-10 12:20:57 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-11-10 13:58:15 +0100 |
commit | be3d4a58e7afa0c81d9508762b1e31e63f71910f (patch) | |
tree | cf1b4dd7882d7c69341f1c3ad82adf1115e9232a /app-misc | |
parent | net-fs/minio: Version bump (diff) | |
download | gentoo-be3d4a58e7afa0c81d9508762b1e31e63f71910f.tar.gz gentoo-be3d4a58e7afa0c81d9508762b1e31e63f71910f.tar.bz2 gentoo-be3d4a58e7afa0c81d9508762b1e31e63f71910f.zip |
app-misc/jail: Fix openat patch
Bug: https://bugs.gentoo.org/668898
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/jail/files/jail-2.0-openat-syscall.patch | 4 | ||||
-rw-r--r-- | app-misc/jail/jail-2.0-r4.ebuild (renamed from app-misc/jail/jail-2.0-r3.ebuild) | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app-misc/jail/files/jail-2.0-openat-syscall.patch b/app-misc/jail/files/jail-2.0-openat-syscall.patch index f5f1e99f6ad2..37f2a59b14b9 100644 --- a/app-misc/jail/files/jail-2.0-openat-syscall.patch +++ b/app-misc/jail/files/jail-2.0-openat-syscall.patch @@ -15,9 +15,9 @@ index b0c6572..b1fdbc8 100755 - if ($line =~ /^open\(\"(.+)\".+\)\s*=\s*([-]?\d+)/) { - $file = $1; - $val = $2; -+ if ($line =~ /^open(at)?\(\"(.+)\".+\)\s*=\s*([-]?\d+)/) { ++ if ($line =~ /^open(at)?\([^\"]*\"(.+)\".+\)\s*=\s*([-]?\d+)/) { + $file = $2; + $val = $3; return($file,$val); } - return(); + return();
\ No newline at end of file diff --git a/app-misc/jail/jail-2.0-r3.ebuild b/app-misc/jail/jail-2.0-r4.ebuild index fc4cdee1bb55..fc4cdee1bb55 100644 --- a/app-misc/jail/jail-2.0-r3.ebuild +++ b/app-misc/jail/jail-2.0-r4.ebuild |