summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-17 19:27:42 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-17 19:27:42 +0000
commit049af7a95b01eba14d33586ad5852dddaf107e53 (patch)
tree3f89f26ef1ec32f03b8842f97077b7d3459ba6d0 /core
parent84837d89991e1e82e5aef8e297541c572ebf2efa (diff)
Fixed
Diffstat (limited to 'core')
-rw-r--r--core/ncurses/set_field_buffer.patch9
-rw-r--r--core/sudo/sudo_l.patch21
-rw-r--r--core/sudo/sudo_noninteractive.patch15
-rw-r--r--core/sudo/sudo_validate_exitval.patch15
4 files changed, 0 insertions, 60 deletions
diff --git a/core/ncurses/set_field_buffer.patch b/core/ncurses/set_field_buffer.patch
deleted file mode 100644
index a2132043e..000000000
--- a/core/ncurses/set_field_buffer.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/ncurses-5.7/form/frm_driver.c 2008/10/18 16:25:00 1.88
-+++ src/ncurses-5.7/form/frm_driver.c 2008/12/06 23:08:12
-@@ -4366,6 +4366,7 @@
- delwin(field->working);
- field->working = newpad(field->drows, field->dcols);
- }
-+ len = Buffer_Length(field);
- wclear(field->working);
- mvwaddstr(field->working, 0, 0, value);
diff --git a/core/sudo/sudo_l.patch b/core/sudo/sudo_l.patch
deleted file mode 100644
index 2115ed760..000000000
--- a/core/sudo/sudo_l.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -r df1bb67fb168 plugins/sudoers/sudo_nss.c
---- a/plugins/sudoers/sudo_nss.c Wed Mar 02 12:39:11 2011 -0500
-+++ b/plugins/sudoers/sudo_nss.c Thu Mar 03 09:37:48 2011 -0500
-@@ -309,6 +309,7 @@
- /*
- * Check user_cmnd against sudoers and print the matching entry if the
- * command is allowed.
-+ * Returns TRUE if the command is allowed, else FALSE.
- */
- int
- display_cmnd(struct sudo_nss_list *snl, struct passwd *pw)
-@@ -320,7 +321,7 @@
-
- tq_foreach_fwd(snl, nss) {
- if (nss->display_cmnd(nss, pw) == 0)
-- return 0;
-+ return TRUE;
- }
-- return 1;
-+ return FALSE;
- }
diff --git a/core/sudo/sudo_noninteractive.patch b/core/sudo/sudo_noninteractive.patch
deleted file mode 100644
index c0c4c4515..000000000
--- a/core/sudo/sudo_noninteractive.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -r fc3dd3be67e9 plugins/sudoers/sudoers.c
---- a/plugins/sudoers/sudoers.c Sat Mar 05 15:34:30 2011 -0500
-+++ b/plugins/sudoers/sudoers.c Sun Mar 06 15:35:39 2011 -0500
-@@ -1172,6 +1172,11 @@
- SET(flags, MODE_IGNORE_TICKET);
- continue;
- }
-+ if (MATCHES(*cur, "noninteractive=")) {
-+ if (atobool(*cur + sizeof("noninteractive=") - 1) == TRUE)
-+ SET(flags, MODE_NONINTERACTIVE);
-+ continue;
-+ }
- if (MATCHES(*cur, "sudoedit=")) {
- if (atobool(*cur + sizeof("sudoedit=") - 1) == TRUE)
- SET(flags, MODE_EDIT);
diff --git a/core/sudo/sudo_validate_exitval.patch b/core/sudo/sudo_validate_exitval.patch
deleted file mode 100644
index ccda68921..000000000
--- a/core/sudo/sudo_validate_exitval.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -r 172f29597bd2 plugins/sudoers/sudoers.c
---- a/plugins/sudoers/sudoers.c Sun Mar 06 15:38:02 2011 -0500
-+++ b/plugins/sudoers/sudoers.c Sun Mar 06 15:52:06 2011 -0500
-@@ -546,8 +546,10 @@
- if (def_group_plugin)
- group_plugin_unload();
-
-- if (ISSET(sudo_mode, (MODE_VALIDATE|MODE_CHECK|MODE_LIST)))
-+ if (ISSET(sudo_mode, (MODE_VALIDATE|MODE_CHECK|MODE_LIST))) {
-+ rval = TRUE;
- goto done;
-+ }
-
- /*
- * Set umask based on sudoers.