Re: [FEATURE_REQUEST] support openssl checksum format too

2009-10-07 Thread Jim Meyering
Guenter Knauf wrote: was still something wrong with my last patch? Just the timing ;-) It was a little too close to release time, and applying it, adjusting NEWS and the commit log, reviewing, and testing would have taken time I didn't have. And the fact that you haven't filed copyright

dd skip_bytes=x count_bytes=x

2009-10-07 Thread Pádraig Brady
Pádraig Brady wrote: On 16th June 2008, Paul Eggert wrote: Pádraig Brady p...@draigbrady.com writes: 5. I think it would be nice for dd to support reading portions of a file efficiently. As far as I can see it can only do it by reading 1 byte at a time. Perhaps skip_bytes=x and count_bytes=x

Re: [PATCH]: chcon: no longer abort on SELinux disabled kernel

2009-10-07 Thread Stephen Smalley
On Tue, 2009-10-06 at 10:14 +0200, Jim Meyering wrote: Jim Meyering wrote: Stephen Smalley wrote: ... Must have previously booted an ancient kernel with SELinux permissive and no policy loaded. Kernel was fixed by the commit below in 2006. I'd recommend that he run the following to

Re: [PATCH]: chcon: no longer abort on SELinux disabled kernel

2009-10-07 Thread Stephen Smalley
On Wed, 2009-10-07 at 14:48 +0200, Jim Meyering wrote: Stephen Smalley wrote: ... FWIW, there is a subtle difference here: - chcon can in fact work on a SELinux-disabled kernel, as you can still set the security.* extended attributes as long as the filesystem provides handlers for the

Re: [PATCH]: chcon: no longer abort on SELinux disabled kernel

2009-10-07 Thread Jim Meyering
Stephen Smalley wrote: On Wed, 2009-10-07 at 14:48 +0200, Jim Meyering wrote: Stephen Smalley wrote: ... FWIW, there is a subtle difference here: - chcon can in fact work on a SELinux-disabled kernel, as you can still set the security.* extended attributes as long as the filesystem

Re: [FEATURE_REQUEST] support openssl checksum format too

2009-10-07 Thread Guenter Knauf
Hi Jim, Jim Meyering schrieb: Guenter Knauf wrote: was still something wrong with my last patch? Just the timing ;-) It was a little too close to release time, and applying it, adjusting NEWS and the commit log, reviewing, and testing would have taken time I didn't have. no prob. And the

Re: [FEATURE_REQUEST] support openssl checksum format too

2009-10-07 Thread Jim Meyering
Guenter Knauf wrote: Hi Jim, Jim Meyering schrieb: Guenter Knauf wrote: was still something wrong with my last patch? Just the timing ;-) It was a little too close to release time, and applying it, adjusting NEWS and the commit log, reviewing, and testing would have taken time I didn't

Re: [PATCH]: chcon: no longer abort on SELinux disabled kernel

2009-10-07 Thread Stephen Smalley
On Wed, 2009-10-07 at 15:34 +0200, Jim Meyering wrote: Stephen Smalley wrote: On Wed, 2009-10-07 at 14:48 +0200, Jim Meyering wrote: Stephen Smalley wrote: ... FWIW, there is a subtle difference here: - chcon can in fact work on a SELinux-disabled kernel, as you can still set the

Re: [FEATURE_REQUEST] support openssl checksum format too

2009-10-07 Thread Eric Blake
Guenter Knauf info at gknw.de writes: And the fact that you haven't filed copyright assignment paperwork. Your change is under the 10-15-line threshold if we look only at the changes to md5sum.c, yet over if we also count the added tests. I've applied the patch, but would appreciate it if

areadlinkat (was: new snapshot available: coreutils-7.6.63-addb6)

2009-10-07 Thread Eric Blake
Eric Blake ebb9 at byu.net writes: The patch copies from areadlink.c, as well as link_follow earlier in linkat.c, to create two new fd-relative helpers. For now, I didn't see any reason to expose them, but areadlinkat may someday be worth making into a full-blown module. Further looking