forked from mirrors/nixpkgs
Addressing feedback and fixing a bug
This commit is contained in:
parent
467bb3f674
commit
fb6d13c01a
|
@ -17,10 +17,8 @@ has the following highlights: </para>
|
|||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Setting capabilities on programs is now supported with a
|
||||
<literal>setcap-wrapper</literal> functionality. This
|
||||
functionality and the <literal>setuid-wrapper</literal> are merged
|
||||
into a single "wrappers" module.</para>
|
||||
<para>The setuid wrapper functionality now supports setting
|
||||
capabilities.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
|
|
|
@ -113,7 +113,7 @@
|
|||
./security/prey.nix
|
||||
./security/rngd.nix
|
||||
./security/rtkit.nix
|
||||
./security/wrappers
|
||||
./security/wrappers/default.nix
|
||||
./security/sudo.nix
|
||||
./services/amqp/activemq/default.nix
|
||||
./services/amqp/rabbitmq.nix
|
||||
|
|
|
@ -165,7 +165,7 @@ int main(int argc, char * * argv)
|
|||
// should safely fit within the PATH_MAX system limit. Though I'm
|
||||
// not positive it's safe...
|
||||
char selfPath[PATH_MAX];
|
||||
int selfPathSize = readlink("/proc/self/exe", selfPath, sizeof(selfPath) - 1);
|
||||
int selfPathSize = readlink("/proc/self/exe", selfPath, sizeof(selfPath));
|
||||
|
||||
assert(selfPathSize > 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue