search for: cuname

Displaying 2 results from an estimated 2 matches for "cuname".

Did you mean: uname
2002 Mar 15
4
PATCH: sftp-server logging.
...ne - http://pjh.org/ -------------- next part -------------- *** sftp-server.c.orig Thu Mar 14 15:00:51 2002 --- sftp-server.c Fri Mar 15 11:57:48 2002 *************** *** 52,57 **** --- 52,66 ---- /* Version of client */ int version; + #ifdef SFTP_LOGGING + /* User information. */ + #define CUNAME cuname ? cuname : "UNKNOWN" + struct passwd *upw; + uid_t cuid; + pid_t ppid; + char *cuname; + #endif + /* portable attibutes, etc. */ typedef struct Stat Stat; *************** *** 93,98 **** --- 102,126 ---- return ret; } + #ifdef SFTP_LOGGING + char* + status_to_logs...
2001 Jun 20
1
SFTP Logging Redux.
...ducer - PJ Harvey Online - http://pjh.org/ -------------- next part -------------- --- sftp-server.c.orig Tue Jun 19 16:32:45 2001 +++ sftp-server.c Wed Jun 20 08:54:03 2001 @@ -52,8 +52,14 @@ /* Version of client */ int version; -/* portable attibutes, etc. */ +/* User information. */ +#define CUNAME cuname ? cuname : "UNKNOWN" +struct passwd *upw; +uid_t cuid; +pid_t ppid; +char *cuname; +/* portable attibutes, etc. */ typedef struct Stat Stat; struct Stat { @@ -115,6 +121,28 @@ return flags; } +void +sflags_from_portable(char *psflags, int pflags) +{ + if (pflags &...