forked from omniti-labs/omnios-build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request omniti-labs#88 from hadfl/sudo_1.8.20p2
sudo: update to sudo 1.8.20p2
- Loading branch information
Showing
10 changed files
with
68 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- sudo-1.8.20p2/Makefile.in Wed May 10 17:38:43 2017 | ||
+++ sudo-1.8.20p2/Makefile.in Sun Jul 9 17:06:55 2017 | ||
@@ -63,7 +63,6 @@ | ||
SED = @SED@ | ||
|
||
INSTALL = $(SHELL) $(top_srcdir)/install-sh -c | ||
-INSTALL_OWNER = -o $(install_uid) -g $(install_gid) | ||
|
||
ECHO_N = @ECHO_N@ | ||
ECHO_C = @ECHO_C@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,34 @@ | ||
--- sudo-1.8.4p1/plugins/sudoers/bsm_audit.c Mon Jan 9 17:37:13 2012 | ||
+++ sudo-1.8.4p1/plugins/sudoers/bsm_audit.c Sun Feb 26 15:55:55 2012 | ||
@@ -31,9 +31,10 @@ | ||
#include <unistd.h> | ||
|
||
#include "gettext.h" | ||
-#include "error.h" | ||
#include "sudo_debug.h" | ||
+#include "error.h" | ||
--- sudo-1.8.20p2/plugins/sudoers/bsm_audit.c Sun Jul 9 12:35:16 2017 | ||
+++ sudo-1.8.20p2/plugins/sudoers/bsm_audit.c Sun Jul 9 12:34:08 2017 | ||
@@ -34,6 +34,7 @@ | ||
|
||
#include "sudoers.h" | ||
#include "bsm_audit.h" | ||
+#define AUE_sudo 6650 | ||
+#define AUE_sudo 6650 | ||
|
||
/* | ||
* Solaris auditon() returns EINVAL if BSM audit not configured. | ||
@@ -163,11 +164,7 @@ | ||
debug_return_int(-1); | ||
} | ||
au_write(aufd, tok); | ||
-#ifdef __sun | ||
- if (au_close(aufd, 1, sudo_audit_event, 0) == -1) | ||
-#else | ||
if (au_close(aufd, 1, sudo_audit_event) == -1) | ||
-#endif | ||
{ | ||
sudo_warn(U_("unable to commit audit record")); | ||
debug_return_int(-1); | ||
@@ -251,11 +248,7 @@ | ||
debug_return_int(-1); | ||
} | ||
au_write(aufd, tok); | ||
-#ifdef __sun | ||
- if (au_close(aufd, 1, sudo_audit_event, PAD_FAILURE) == -1) | ||
-#else | ||
if (au_close(aufd, 1, sudo_audit_event) == -1) | ||
-#endif | ||
{ | ||
sudo_warn(U_("unable to commit audit record")); | ||
debug_return_int(-1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
diff -bur sudo-1.8.7.pristine/config.h.in sudo-1.8.7/config.h.in | ||
--- sudo-1.8.7.pristine/config.h.in 2013-06-04 09:49:25.000000000 +0000 | ||
+++ sudo-1.8.7/config.h.in 2013-11-13 19:20:29.015909468 +0000 | ||
@@ -1025,4 +1025,7 @@ | ||
# define BSD_COMP | ||
#endif /* __svr4__ */ | ||
|
||
--- sudo-1.8.20p2/config.h.in Wed May 31 17:13:28 2017 | ||
+++ sudo-1.8.20p2/config.h.in Sun Jul 9 16:59:22 2017 | ||
@@ -1257,4 +1257,7 @@ | ||
# define NO_LEAKS | ||
#endif | ||
|
||
+#include <libintl.h> | ||
+#define _(String) gettext(String) | ||
+ | ||
#endif /* _SUDO_CONFIG_H */ | ||
#endif /* SUDO_CONFIG_H */ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
audit-event.patch | ||
printflike.patch | ||
libs.patch | ||
ssp.patch | ||
gettext.patch | ||
tz1.patch | ||
sudo_edit.c.patch | ||
Makefile.in.patch |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- sudo-1.8.20p2/src/sudo_edit.c Sat Jan 14 05:30:15 2017 | ||
+++ sudo-1.8.20p2/src/sudo_edit.c Sun Jul 9 15:19:35 2017 | ||
@@ -377,9 +377,9 @@ | ||
* Directory open flags for use with openat(2). | ||
* Use O_SEARCH/O_PATH and/or O_DIRECTORY where possible. | ||
*/ | ||
-#if defined(O_SEARCH) | ||
+#if defined(O_SEARCH) && defined(O_DIRECTORY) | ||
# define DIR_OPEN_FLAGS (O_SEARCH|O_DIRECTORY) | ||
-#elif defined(O_PATH) | ||
+#elif defined(O_PATH) && defined(O_DIRECTORY) | ||
# define DIR_OPEN_FLAGS (O_PATH|O_DIRECTORY) | ||
#elif defined(O_DIRECTORY) | ||
# define DIR_OPEN_FLAGS (O_RDONLY|O_DIRECTORY) |
This file was deleted.
Oops, something went wrong.