uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
17
pkgs/tools/security/monkeysphere/openssh-nixos-sandbox.patch
Normal file
17
pkgs/tools/security/monkeysphere/openssh-nixos-sandbox.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/auth.c b/auth.c
|
||||
index d2a8cd65..811a129f 100644
|
||||
--- a/auth.c
|
||||
+++ b/auth.c
|
||||
@@ -580,6 +580,12 @@ getpwnamallow(const char *user)
|
||||
#endif
|
||||
|
||||
pw = getpwnam(user);
|
||||
+ if (pw != NULL) {
|
||||
+ // This is only for testing purposes,
|
||||
+ // DO NOT USE THIS PATCH IN PRODUCTION!
|
||||
+ char *shell = "/bin/sh";
|
||||
+ pw->pw_shell = shell;
|
||||
+ }
|
||||
|
||||
#if defined(_AIX) && defined(HAVE_SETAUTHDB)
|
||||
aix_restoreauthdb();
|
||||
Loading…
Add table
Add a link
Reference in a new issue