bug#30928: no error val returned by 'nice' failure?

2018-03-24 Thread L A Walsh
Paul Eggert wrote: L A Walsh wrote: how do you tell if the resetting of the priority worked or failed? I guess you're supposed to look at stderr, which is what you did. This is the way 'nice' has behaved for quite some time, and it's what POSIX specifies. We'd need a real good reason to ch

bug#30928: no error val returned by 'nice' failure?

2018-03-24 Thread Bernhard Voelker
On 03/24/2018 10:09 PM, Paul Eggert wrote: > L A Walsh wrote: >> how do you tell if the resetting of the >> priority worked or failed? > > I guess you're supposed to look at stderr, which is what you did. > > This is the way 'nice' has behaved for quite some time, and it's what POSIX > specifies

bug#30918: Don't use syscall() to call renameat2()

2018-03-24 Thread Paul Eggert
Clint Adams wrote: What's keeping it out of glibc? Sorry, don't know offhand. Mostly lack of time, I expect.

bug#30928: no error val returned by 'nice' failure?

2018-03-24 Thread Paul Eggert
L A Walsh wrote: how do you tell if the resetting of the priority worked or failed? I guess you're supposed to look at stderr, which is what you did. This is the way 'nice' has behaved for quite some time, and it's what POSIX specifies. We'd need a real good reason to change it, given that ch

bug#30918: Don't use syscall() to call renameat2()

2018-03-24 Thread Clint Adams
On Fri, Mar 23, 2018 at 12:02:36PM -0700, Paul Eggert wrote: > That would reintroduce race-condition security holes in the ordinary build > of GNU Coreutils on GNU/Linux, which would not be a good thing. Instead, how > about fixing fakeroot so that it traps 'syscall' and fails with errno == > ENOTS

bug#30928: no error val returned by 'nice' failure?

2018-03-24 Thread L A Walsh
I executed a command: nice --19 sleep 5 and hoped to get back a status as to whether or not I was allowed to use a negative priority, since on Windows, anyone in the Admin group can set a priority, with the above command running sleep at 'High' priority, but on linux: nice --19 sleep 1 nice

bug#30878: [PATCH] doc: fix two typos in github templates

2018-03-24 Thread Bernhard Voelker
On 03/20/2018 02:34 PM, Roland Hieber wrote: > * .github/ISSUE_TEMPLATE.txt, .github/PULL_REQUEST_TEMPLATE.txt: > fix typo "coreitils" in the URL to the bug tracker. Thanks, pushed (with a little tweak in the commit message). Have a nice day, Berny