mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
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>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Setting capabilities on programs is now supported with a
|
<para>The setuid wrapper functionality now supports setting
|
||||||
<literal>setcap-wrapper</literal> functionality. This
|
capabilities.</para>
|
||||||
functionality and the <literal>setuid-wrapper</literal> are merged
|
|
||||||
into a single "wrappers" module.</para>
|
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -113,7 +113,7 @@
|
|||||||
./security/prey.nix
|
./security/prey.nix
|
||||||
./security/rngd.nix
|
./security/rngd.nix
|
||||||
./security/rtkit.nix
|
./security/rtkit.nix
|
||||||
./security/wrappers
|
./security/wrappers/default.nix
|
||||||
./security/sudo.nix
|
./security/sudo.nix
|
||||||
./services/amqp/activemq/default.nix
|
./services/amqp/activemq/default.nix
|
||||||
./services/amqp/rabbitmq.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
|
// should safely fit within the PATH_MAX system limit. Though I'm
|
||||||
// not positive it's safe...
|
// not positive it's safe...
|
||||||
char selfPath[PATH_MAX];
|
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);
|
assert(selfPathSize > 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user