logo

utils-std

Collection of commonly available Unix tools
commit: b7ba9eca20e8284e519c1e7c95496843a8867874
parent 7d963c3fe6e89216f169bbf81b7d4e5f6329754b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 31 Mar 2024 08:27:53 +0200

cmd/logname: Ignore flawfinder about getlogin(3)

Diffstat:

Mcmd/logname.c1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cmd/logname.c b/cmd/logname.c @@ -9,6 +9,7 @@ int main(void) { + /* flawfinder: ignore. POSIX requires getlogin(3), which ought to be correct */ char *name = getlogin(); if(name == NULL) {