On 06/30/2014 03:40 AM, Jim Meyering wrote:
> On Sun, Jun 29, 2014 at 9:42 AM, Pádraig Brady wrote:
>> POSIX says that `pwd` without options should assume -L is specified.
>> pwd is most often invoked as a shell builtin and bash, dash, zsh, ksh
>> all follow POSIX and assume that -L is the default
Hello,
I'd like to suggest a patch to allow seq to generate letter sequences.
With this patch, 'seq' can print letters of alphabets in the current locale
(or user-specified language). Examples:
# print all letters in the current alphabet
seq --alphabet
seq -a
# print the first 10
On 06/30/2014 11:23 AM, assafgor...@gmail.com wrote:
> Hello,
>
> I'd like to suggest a patch to allow seq to generate letter sequences.
>
> With this patch, 'seq' can print letters of alphabets in the current locale
> (or user-specified language). Examples:
>
> # print all letters in the cu
Since it's verified by security_check_context() it can be used in
change_file_context() without converting to context_t everytime.
* src/chcon.c (change_file_context): Use specified_context directly.
---
src/chcon.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --gi
It seems context_new() and _free() are used for checking validity of
a specified context. The libselinux provides security_check_context
for this purpose so use it.
Note that context_new() can fail for a valid context - e.g. ENOMEM.
* src/chcon.c (main): Use security_check_context().
---
src/ch
On 06/30/2014 04:12 PM, Namhyung Kim wrote:
> It seems context_new() and _free() are used for checking validity of
> a specified context. The libselinux provides security_check_context
> for this purpose so use it.
>
> Note that context_new() can fail for a valid context - e.g. ENOMEM.
>
> * src
On 06/30/2014 04:12 PM, Namhyung Kim wrote:
> Since it's verified by security_check_context() it can be used in
> change_file_context() without converting to context_t everytime.
>
> * src/chcon.c (change_file_context): Use specified_context directly.
> ---
> src/chcon.c | 16
>
On 06/30/2014 04:42 PM, Pádraig Brady wrote:
> On 06/30/2014 04:12 PM, Namhyung Kim wrote:
>> It seems context_new() and _free() are used for checking validity of
>> a specified context. The libselinux provides security_check_context
>> for this purpose so use it.
>>
>> Note that context_new() can
>> On Jun 30, 2014, at 5:24, Pádraig Brady wrote:
>>
>> On 06/30/2014 11:23 AM, assafgor...@gmail.com wrote:
>> I'd like to suggest a patch to allow seq to generate letter sequences.
> I notice about 45 copies of the A-Z alphabet, would it be worth introducing
> aliases to avoid copies?
Yes, w