FreeBSD Bugzilla – Attachment 185835 Details for
Bug 221874
security/sudo: Update to 1.8.21.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch file
patch-security_sudo (text/plain), 2.93 KB, created by
Yasuhiro Kimura
on 2017-08-28 02:50:45 UTC
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2017-08-28 02:50:45 UTC
Size:
2.93 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 448846) >+++ Makefile (working copy) >@@ -2,8 +2,7 @@ > # $FreeBSD$ > > PORTNAME= sudo >-PORTVERSION= 1.8.20p2 >-PORTREVISION= 3 >+PORTVERSION= 1.8.21 > CATEGORIES= security > MASTER_SITES= SUDO > >Index: distinfo >=================================================================== >--- distinfo (revision 448846) >+++ distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1497103724 >-SHA256 (sudo-1.8.20p2.tar.gz) = bd42ae1059e935f795c69ea97b3de09fe9410a58a74b5d5e6836eb5067a445d9 >-SIZE (sudo-1.8.20p2.tar.gz) = 2930769 >+TIMESTAMP = 1503887359 >+SHA256 (sudo-1.8.21.tar.gz) = 126e9214613e842e19a02658f060186fe6a5927948679d64895b17ed933bb523 >+SIZE (sudo-1.8.21.tar.gz) = 2973939 >Index: files/patch-src_exec__nopty.c >=================================================================== >--- files/patch-src_exec__nopty.c (revision 448846) >+++ files/patch-src_exec__nopty.c (working copy) >@@ -1,26 +1,11 @@ >---- src/exec_nopty.c.orig 2017-08-09 17:20:41 UTC >+--- src/exec_nopty.c.orig 2017-08-23 18:07:28 UTC > +++ src/exec_nopty.c >-@@ -201,7 +201,7 @@ exec_nopty(struct command_details *details, struct com >- sudo_warn(U_("unable to set handler for signal %d"), SIGCHLD); >- if (sudo_sigaction(SIGCONT, &sa, NULL) != 0) >- sudo_warn(U_("unable to set handler for signal %d"), SIGCONT); >+@@ -293,7 +293,7 @@ fill_exec_closure_nopty(struct exec_clos >+ if (sudo_ev_add(ec->evbase, ec->sigcont_event, NULL, false) == -1) >+ sudo_fatal(U_("unable to add event to queue")); >+ > -#ifdef SIGINFO > +#if defined(SIGINFO) && !defined(__FreeBSD__) >- if (sudo_sigaction(SIGINFO, &sa, NULL) != 0) >- sudo_warn(U_("unable to set handler for signal %d"), SIGINFO); >- #endif >-@@ -222,6 +222,14 @@ exec_nopty(struct command_details *details, struct com >- sudo_warn(U_("unable to set handler for signal %d"), SIGQUIT); >- if (sudo_sigaction(SIGTSTP, &sa, NULL) != 0) >- sudo_warn(U_("unable to set handler for signal %d"), SIGTSTP); >-+#if defined(SIGINFO) && defined(__FreeBSD__) >-+ /* >-+ * FreeBSD's ^T will generate a SIGINFO to the controlling terminal's >-+ * process group. >-+ */ >-+ if (sudo_sigaction(SIGINFO, &sa, NULL) != 0) >-+ sudo_warn(U_("unable to set handler for signal %d"), SIGINFO); >-+#endif >- >- /* >- * The policy plugin's session init must be run before we fork >+ ec->siginfo_event = sudo_ev_alloc(SIGINFO, >+ SUDO_EV_SIGINFO, signal_cb_nopty, ec); >+ if (ec->siginfo_event == NULL) >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 448846) >+++ pkg-plist (working copy) >@@ -55,6 +55,7 @@ > %%NLS%%share/locale/fi/LC_MESSAGES/sudoers.mo > %%NLS%%share/locale/fr/LC_MESSAGES/sudo.mo > %%NLS%%share/locale/fr/LC_MESSAGES/sudoers.mo >+%%NLS%%share/locale/fur/LC_MESSAGES/sudo.mo > %%NLS%%share/locale/gl/LC_MESSAGES/sudo.mo > %%NLS%%share/locale/hr/LC_MESSAGES/sudo.mo > %%NLS%%share/locale/hr/LC_MESSAGES/sudoers.mo
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 221874
:
185835
|
185858