Re: [hackers] [ubase][PATCH 1/4] su: simplify logic

2024-03-06 Thread Roberto E. Vargas Caballero
Hi, On Mon, Feb 12, 2024 at 04:25:49PM -0500, neeshy wrote: > Inline dologin, and simplify common code I have applied the 4 patches with a minor modification to the 1st one. Kind regards, Roberto Vargas.

[hackers] [ubase] su: simplify logic || neeshy

2024-03-06 Thread git
commit 8f5a0c32362dc447ab066f9c3ad7802153a6bb40 Author: neeshy AuthorDate: Mon Feb 12 21:26:35 2024 -0500 Commit: Roberto E. Vargas Caballero CommitDate: Wed Mar 6 10:11:07 2024 +0100 su: simplify logic Inline dologin, and simplify common code diff --git a/su.c b/su.c index

[hackers] [ubase] su: fix setting argv0 || neeshy

2024-03-06 Thread git
commit cf9e26d7fa2d13ede8ce2830819e311fc0dd83b9 Author: neeshy AuthorDate: Mon Feb 12 16:25:50 2024 -0500 Commit: Roberto E. Vargas Caballero CommitDate: Wed Mar 6 10:11:23 2024 +0100 su: fix setting argv0 argv0 was being set to the user's login shell even when -p was sp

[hackers] [ubase] su: check $SHELL for validity || neeshy

2024-03-06 Thread git
commit e9bcdcc341d74f0abaa171703ac031b55e9020c0 Author: neeshy AuthorDate: Mon Feb 12 21:41:02 2024 -0500 Commit: Roberto E. Vargas Caballero CommitDate: Wed Mar 6 10:11:29 2024 +0100 su: check $SHELL for validity If $SHELL isn't defined in the environment, the call to execv

[hackers] [ubase] su: don't set $PATH || neeshy

2024-03-06 Thread git
commit 4cd0b143801b1135abd2b7012cfed020710a4e68 Author: neeshy AuthorDate: Mon Feb 12 21:03:12 2024 -0500 Commit: Roberto E. Vargas Caballero CommitDate: Wed Mar 6 10:12:49 2024 +0100 su: don't set $PATH Just /bin is too restrictive, and login shells set the path anyway via

[hackers] [sbase] tar: chktar: fix conditional typo || Elie Le Vaillant

2024-03-06 Thread git
commit 13898fa7a91155a60c4c0bd61d4b7693a2ff3f09 Author: Elie Le Vaillant AuthorDate: Tue Mar 5 21:20:57 2024 +0100 Commit: Roberto E. Vargas Caballero CommitDate: Wed Mar 6 16:00:10 2024 +0100 tar: chktar: fix conditional typo diff --git a/tar.c b/tar.c index 5f73c26..7529997 100644

Re: [hackers] [sbase][PATCH] tar: chktar: fix conditional typo

2024-03-06 Thread Roberto E. Vargas Caballero
Hi, On Tue, Mar 05, 2024 at 09:20:57PM +0100, Elie Le Vaillant wrote: > --- > tar.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tar.c b/tar.c > index 0361b63..405b8d9 100644 > --- a/tar.c > +++ b/tar.c > @@ -423,7 +423,7 @@ chktar(struct header *h) > g

[hackers] [sbase][PATCH] TODO: libutil/unescape: add NUL escapes

2024-03-06 Thread Elie Le Vaillant
--- TODO | 8 1 file changed, 8 insertions(+) diff --git a/TODO b/TODO index 6a0968e..a924aee 100644 --- a/TODO +++ b/TODO @@ -73,6 +73,14 @@ tr * When a character class is present, all other characters in the string are ignored. +libutil +--- +* unescape: NUL ('\0') escapes sh

Re: [hackers] [ubase][PATCH 1/4] su: simplify logic

2024-03-06 Thread neeshy
On Wed Mar 6, 2024 at 4:14 AM EST, Roberto E. Vargas Caballero wrote: > Hi, > > > On Mon, Feb 12, 2024 at 04:25:49PM -0500, neeshy wrote: > > Inline dologin, and simplify common code > > I have applied the 4 patches with a minor modification to the 1st > one. > > Kind regards, > Roberto Vargas. He