FreeBSD Bugzilla – Attachment 245605 Details for
Bug 274454
usr.sbin/syslogd: closing a configured terminal in parse_action(), line 3057
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for usr.sbin/syslogd/syslogd.c disabling closing of a terminal.
usr.sbin_syslogd_syslogd.c.VTY.diff (text/plain), 625 bytes, created by
Trond Endrestøl
on 2023-10-13 17:48:07 UTC
(
hide
)
Description:
Patch for usr.sbin/syslogd/syslogd.c disabling closing of a terminal.
Filename:
MIME Type:
Creator:
Trond Endrestøl
Created:
2023-10-13 17:48:07 UTC
Size:
625 bytes
patch
obsolete
>diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c >index 7db5bab11008..2f3286bc428c 100644 >--- a/usr.sbin/syslogd/syslogd.c >+++ b/usr.sbin/syslogd/syslogd.c >@@ -3054,7 +3054,7 @@ parse_action(const char *p, struct filed *f) > (void)strlcpy(f->fu_fname, p + sizeof(_PATH_DEV) - 1, > sizeof(f->fu_fname)); > /* This will be reopened by ttymsg(). */ >- close(f->f_file); >+ //close(f->f_file); // Do not close the file in case it is a VTY. It would otherwise make the VTY inaccessible and useless to the user. > f->f_file = -1; > } else { > (void)strlcpy(f->fu_fname, p, sizeof(f->fu_fname));
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 274454
:
245605
|
245606