diff options
author | Ed Schouten <ed@FreeBSD.org> | 2016-07-31 08:27:00 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2016-07-31 08:27:00 +0000 |
commit | 028615af5ada90d3bebd952a5cbac6e00a6b94bf (patch) | |
tree | 7eea724f3bcd8551d2eb7e0db56456475fe1e687 /security/super | |
parent | 0f5c065eb2a5a843b3250131a882aee344f3bf4c (diff) | |
download | ports-028615af5ada90d3bebd952a5cbac6e00a6b94bf.tar.gz ports-028615af5ada90d3bebd952a5cbac6e00a6b94bf.zip |
Notes
Diffstat (limited to 'security/super')
-rw-r--r-- | security/super/files/patch-checks.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/security/super/files/patch-checks.c b/security/super/files/patch-checks.c new file mode 100644 index 000000000000..5b53e1034eb2 --- /dev/null +++ b/security/super/files/patch-checks.c @@ -0,0 +1,26 @@ +--- checks.c ++++ checks.c +@@ -567,7 +567,6 @@ + set_u_g() + { + /* Return 0 on success, -1 on failure */ +- SETGRENT_T setgrent(); + void endgrent(); + int i, j, k = -1; + int found_gid = -1, found_egid = -1; +@@ -1425,7 +1424,6 @@ + char *grouplabel; /* name or numeric form */ + { + struct group *gp; +- SETGRENT_T setgrent(); + void endgrent(); + int numeric_gid; + int found_gid, is_numeric=0; +@@ -1897,7 +1895,6 @@ + struct group *gp; + char **mem; + char buf[20]; +- SETGRENT_T setgrent(); + void endgrent(); + + ENTRY item, *found_item; |