Bugzilla – Attachment 1478 Details for
Bug 1371
Add PKCS#11 (Smartcards) support into OpenSSH
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
1001_all_ssh-agent-log-level.patch
1001_all_ssh-agent-log-level.patch (text/plain), 1.23 KB, created by
Alon Bar-Lev
on 2008-03-31 20:22:05 AEDT
(
hide
)
Description:
1001_all_ssh-agent-log-level.patch
Filename:
MIME Type:
Creator:
Alon Bar-Lev
Created:
2008-03-31 20:22:05 AEDT
Size:
1.23 KB
patch
obsolete
>[PATCH] Allow ssh-agent to have more than one debug level > >Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> > >--- > >diff -urNp ssh.org/ssh-agent.1 ssh/ssh-agent.1 >--- ssh.org/ssh-agent.1 2007-09-09 14:38:01.000000000 +0300 >+++ ssh/ssh-agent.1 2008-03-31 11:48:48.000000000 +0300 >@@ -82,6 +82,9 @@ Debug mode. > When this option is specified > .Nm > will not fork. >+Multiple >+.Fl d >+options increase the verbosity. The maximum is 3. > .It Fl k > Kill the current agent (given by the > .Ev SSH_AGENT_PID >diff -urNp ssh.org/ssh-agent.c ssh/ssh-agent.c >--- ssh.org/ssh-agent.c 2007-09-26 01:48:57.000000000 +0200 >+++ ssh/ssh-agent.c 2008-03-31 11:47:03.000000000 +0300 >@@ -1057,7 +1057,7 @@ main(int ac, char **av) > s_flag++; > break; > case 'd': >- if (d_flag) >+ if (d_flag > 3) > usage(); > d_flag++; > break; >@@ -1157,7 +1157,7 @@ main(int ac, char **av) > * the socket data. The child continues as the authentication agent. > */ > if (d_flag) { >- log_init(__progname, SYSLOG_LEVEL_DEBUG1, SYSLOG_FACILITY_AUTH, 1); >+ log_init(__progname, SYSLOG_LEVEL_DEBUG1+d_flag-1, SYSLOG_FACILITY_AUTH, 1); > format = c_flag ? "setenv %s %s;\n" : "%s=%s; export %s;\n"; > printf(format, SSH_AUTHSOCKET_ENV_NAME, socket_name, > SSH_AUTHSOCKET_ENV_NAME);
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 1371
:
1444
|
1463
|
1464
|
1465
|
1466
|
1467
|
1468
|
1469
|
1470
|
1471
|
1477
| 1478 |
1484
|
1485
|
1486
|
1487
|
1488
|
1489
|
1490
|
1491
|
1492
|
1493
|
1494
|
1495
|
1496
|
1497
|
1547
|
1557
|
1558