Bugzilla – Attachment 1465 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.37 KB, created by
Alon Bar-Lev
on 2008-03-07 19:39:18 AEDT
(
hide
)
Description:
1001_all_ssh-agent-log-level.patch
Filename:
MIME Type:
Creator:
Alon Bar-Lev
Created:
2008-03-07 19:39:18 AEDT
Size:
1.37 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 openssh-4.7p1/ssh-agent.c openssh-4.7p1+pkcs11-0.21/ssh-agent.c >--- openssh-4.7p1/ssh-agent.c 2007-03-21 11:45:07.000000000 +0200 >+++ openssh-4.7p1+pkcs11-0.21/ssh-agent.c 2008-01-08 11:07:05.000000000 +0200 >@@ -1081,7 +1212,7 @@ main(int ac, char **av) > s_flag++; > break; > case 'd': >- if (d_flag) >+ if (d_flag > 3) > usage(); > d_flag++; > break; >@@ -1184,7 +1315,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); >diff -urNp ssh.org/ssh-agent.1 ssh.doc/ssh-agent.1 >--- ssh.org/ssh-agent.1 2007-05-31 22:20:16.000000000 +0300 >+++ ssh.doc/ssh-agent.1 2008-01-09 14:25:31.000000000 +0200 >@@ -99,7 +99,9 @@ Without this option the default maximum > Debug mode. > When this option is specified > .Nm >-will not fork. >+will not fork. Multiple >+.Fl d >+options increase the verbosity. The maximum is 3. > .El > .Pp > If a commandline is given, this is executed as a subprocess of the agent.
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