-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Comparing changes
Open a pull request
base repository: NixOS/nix
base: a8d13e66ee93
head repository: NixOS/nix
compare: 833aae45090e
- 10 commits
- 8 files changed
- 1 contributor
Commits on Jun 1, 2017
-
Add a seccomp filter to prevent creating setuid/setgid binaries
This prevents builders from setting the S_ISUID or S_ISGID bits, preventing users from using a nixbld* user to create a setuid/setgid binary to interfere with subsequent builds under the same nixbld* uid. This is based on aszlig's seccomp code (47f5877). Reported by Linus Heckemann. (cherry picked from commit 6cc6c15)
Configuration menu - View commit details
-
Copy full SHA for e296b88 - Browse repository at this point
Copy the full SHA e296b88View commit details -
Fix seccomp initialisation on i686-linux
(cherry picked from commit cf93397)
Configuration menu - View commit details
-
Copy full SHA for a2cf0f1 - Browse repository at this point
Copy the full SHA a2cf0f1View commit details -
Add test for setuid seccomp filter
(cherry picked from commit 1d9ab27)
Configuration menu - View commit details
-
Copy full SHA for 17da82e - Browse repository at this point
Copy the full SHA 17da82eView commit details -
Require seccomp only in multi-user setups
(cherry picked from commit ff6beca)
Configuration menu - View commit details
-
Copy full SHA for 1e0f1da - Browse repository at this point
Copy the full SHA 1e0f1daView commit details -
canonicalisePathMetaData(): Remove extended attributes / ACLs
Configuration menu - View commit details
-
Copy full SHA for 66618db - Browse repository at this point
Copy the full SHA 66618dbView commit details -
Add a seccomp rule to disallow setxattr()
(cherry picked from commit 2ac99a3)
Configuration menu - View commit details
-
Copy full SHA for 634d117 - Browse repository at this point
Copy the full SHA 634d117View commit details -
Fix seccomp build failure on clang
Fixes src/libstore/build.cc:2321:45: error: non-constant-expression cannot be narrowed from type 'int' to 'scmp_datum_t' (aka 'unsigned long') in initializer list [-Wc++11-narrowing] (cherry picked from commit fe08d17)
Configuration menu - View commit details
-
Copy full SHA for 4be5a65 - Browse repository at this point
Copy the full SHA 4be5a65View commit details -
It appears that sometimes, listxattr() returns a different value for the query case (i.e. when the buffer size is 0). (cherry picked from commit 52fec8d)
Configuration menu - View commit details
-
Copy full SHA for c48697d - Browse repository at this point
Copy the full SHA c48697dView commit details -
RPM, Deb: Add dependency on libseccomp
(cherry picked from commit ab5834f)
Configuration menu - View commit details
-
Copy full SHA for aabe20b - Browse repository at this point
Copy the full SHA aabe20bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 833aae4 - Browse repository at this point
Copy the full SHA 833aae4View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff a8d13e66ee93...833aae45090e