bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printf cannot write more than one line to /proc/pid/uid_map


From: Chris Down
Subject: Re: printf cannot write more than one line to /proc/pid/uid_map
Date: Wed, 26 Mar 2014 04:11:37 +0800
User-agent: Mutt/1.5.22 (2013-10-16)

Pádraig Brady writes:
> If you want to use the external printf to achieve more
> standard buffering modes, you can use `env` like:
> 
>   env printf '%s' '0 0 1\n1 1 1' > /proc/31861/uid_map

While this will probably work, the more typical way to do this is with
command(1P).

Attachment: pgp_2tASIyYet.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]