runat: Add -h to manipulate a symlink's named attribute dirLionel Cons <lionelcons1972@gmail.com> requestedthat a new option be added to runat(1) so that it couldbe used to manipulate named attri
runat: Add -h to manipulate a symlink's named attribute dirLionel Cons <lionelcons1972@gmail.com> requestedthat a new option be added to runat(1) so that it couldbe used to manipulate named attributes associated witha symbolic link and not the file the symbolic link refers to).This patch adds the option -h/--nofollow to do this.Requested by: Lionel Cons <lionelcons1972@gmail.com>Reviewed by: kibMFC after: 2 weeksDifferential Revision: https://reviews.freebsd.org/D55023
show more ...
runat.c: Add an explicit check for snprintf() failureThe check for "outsiz" too large was probably sufficient tocatch failures, since it was cast to an unsigned (size_t).However, it seems appropr
runat.c: Add an explicit check for snprintf() failureThe check for "outsiz" too large was probably sufficient tocatch failures, since it was cast to an unsigned (size_t).However, it seems appropriate to add an explicit check fora failed case (returning -1).Discussed with: oshogboFixes: 0660de8172cd ("runat: Add a runat(1) utility similar to the Solaris one")
runat: Add a runat(1) utility similar to the Solaris oneSolaris has a utility called runat(1) that runs a shellcommand on a named attribute directory. This utilityis modelled after that one.Re
runat: Add a runat(1) utility similar to the Solaris oneSolaris has a utility called runat(1) that runs a shellcommand on a named attribute directory. This utilityis modelled after that one.Reviewed by: kib (earlier version)Differential Revision: https://reviews.freebsd.org/D49850