Re: [PATCH v2] wall: add --group option

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

 



On Wed, Nov 16, 2016 at 09:59:28PM +0000, Sami Kerola wrote:
> On Wed, 16 Nov 2016, Jim Patterson wrote:
> 
> > The wall command on AIX supports a "-g" option to limit the message
> > to a group of users by gid.  Add compatibility to the Linux version.
> 
> A bit more work to this change: 1) numeric gid is no checked to be valid, 
> 2) gid is checked to be withing range of gid_t and 3) --group option is 
> added to bash completion hints 4) add Reviewed-by line.

Ah... I miss this comment before merge. So, I have applied an extra
patch with 1) and 3). The 2) seems like overkill, getgrgid() is
probably good enough.

> This change is also available from here:
> git://github.com/kerolasa/lelux-utiliteetit.git wall-group
 
Thanks.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux