FreeBSD Bugzilla – Attachment 222241 Details for
Bug 253322
sysutils/nix: fix “Operation not permitted” error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the issue.
nix.diff (text/plain), 1.07 KB, created by
hi@alyssa.is
on 2021-02-07 16:20:12 UTC
(
hide
)
Description:
Patch to fix the issue.
Filename:
MIME Type:
Creator:
hi@alyssa.is
Created:
2021-02-07 16:20:12 UTC
Size:
1.07 KB
patch
obsolete
>Index: sysutils/nix/files/patch-src_libutil_util.cc >=================================================================== >--- sysutils/nix/files/patch-src_libutil_util.cc (nonexistent) >+++ sysutils/nix/files/patch-src_libutil_util.cc (working copy) >@@ -0,0 +1,11 @@ >+--- src/libutil/util.cc.orig 2021-02-07 15:52:25 UTC >++++ src/libutil/util.cc >+@@ -910,7 +910,7 @@ void killUser(uid_t uid) >+ #else >+ if (kill(-1, SIGKILL) == 0) break; >+ #endif >+- if (errno == ESRCH) break; /* no more processes */ >++ if (errno == ESRCH || errno == EPERM) break; /* no more processes */ >+ if (errno != EINTR) >+ throw SysError(format("cannot kill processes for uid '%1%'") % uid); >+ } > >Property changes on: sysutils/nix/files/patch-src_libutil_util.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 253322
: 222241