aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Tue Sep 16 14:37:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-09-162-1/+13
| | | | | * opts-append-std.c (diskfs_append_std_options): Add --no-suid and --no-exec when appropriate.
* Tue Sep 16 15:26:04 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-09-162-79/+8
| | | | | | * host.c (hostid, hostname, hostnamelen): Delete variables. (S_proc_sethostid, S_proc_gethostid, S_proc_sethostname, S_proc_gethostname): Delete functions.
* Tue Sep 16 15:24:37 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-09-162-23/+10
| | | | | * process.defs: Delete proc_sethostid, proc_gethostid, proc_sethostname, and proc_gethostname.
* *** empty log message ***Thomas Bushnell1997-09-161-1/+0
|
* Tue Sep 16 14:37:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-09-167-6/+61
| | | | | | | | | | | | | | | | | | | | | | | * priv.h (nosuid, noexec): New variables. * init-init.c (nosuid, noexec): New variables, initialized to zero. * file-exec.c (diskfs_S_file_exec): If noexec is on, then prohibit all execution with EACCES. If nosuid is on, then prohibit setuid or setgid execution by silently omitting the uid substitution. * opts-std-startup.c (parse_startup_opt): Implement --no-suid and --no-exec. * opts-common.c (diskfs_common_options): Add --no-suid and --no-exec. * opts-std-runtime.c (struct parse_hook): Add nosuid and noexec. (parse_opt) [cases 'S', 'E', OPT_SUID_OK, OPT_EXEC_OK] Understand --no-suid, --no-exec, --suid-ok, and --exec-ok. (parse_opt) [case ARGP_KEY_INIT]: Initialize H->nosuid and H->noexec. (OPT_SUID_OK, OPT_EXEC_OK): New macros. (std_runtime_options): Add --suid-ok and --exec-ok. (set_opts): Set nosuid and noexec from H->nosuid and H->noexec. * opts-common.c (diskfs_common_options): Rename --nosync to --no-sync; leave --nosync as an alias.
* *** empty log message ***Thomas Bushnell1997-09-162-32/+16
|
* .Miles Bader1997-09-092-0/+9
|
* (netfs_append_args):Miles Bader1997-09-091-2/+16
| | | | | | | | Fix printed name of --node-cache-size. (parse_runtime_opt): New function. (runtime_argp): Use it.
* .Miles Bader1997-09-091-0/+9
|
* (delete):Miles Bader1997-09-091-1/+4
| | | | Immediately free entries without nodes.
* (netfs_S_dir_lookup):Miles Bader1997-09-091-1/+1
| | | | Fix type signature of short_circuited_callback1.
* .Miles Bader1997-09-051-0/+5
|
* (netfs_S_dir_lookup):Miles Bader1997-09-051-0/+1
| | | | Re-aquire the lock on DNP when looping to follow a symlink.
* .Miles Bader1997-09-052-0/+16
|
* Add INTR_INTERFACE.Miles Bader1997-09-051-1/+3
|
* (netfs_attempt_lookup):Miles Bader1997-09-051-14/+21
| | | | | | Clear *NODE on errors. Check for lookup permission. Re-arrange code to correctly handle errors.
* (main):Miles Bader1997-09-051-0/+12
| | | | | If the underlying node isn't a directory, propagate read permission to execute permission.
* .Miles Bader1997-09-041-0/+4
|
* (main):Miles Bader1997-09-041-1/+1
| | | | Fix typo.
* .Miles Bader1997-09-041-0/+4
|
* [!FTP_CONN_EI] (FTP_CONN_EI):Miles Bader1997-09-041-1/+7
| | | | | | | New macro. (ftp_conn_validate_syshooks): Use FTP_CONN_EI instead of `static inline'. Protect with __OPTIMIZE__.
* (ftp_conn_close):Miles Bader1997-09-041-3/+0
| | | | Don't cleanup CONN->actv_data_conn_queue.
* (ftp_conn_create):Miles Bader1997-09-041-1/+0
| | | | Don't initialize CONN->actv_data_conn_queue.
* .Miles Bader1997-09-041-0/+11
|
* (struct ftp_conn):Miles Bader1997-09-041-2/+0
| | | | Remove ACTV_DATA_CONN_QUEUE field.
* (ftp_conn_abort_open_actv_data):Miles Bader1997-09-041-67/+72
| | | | | | | | | Close the data queue socket. (ftp_conn_finish_open_actv_data): Close the listen queue after looking for a connection. (ftp_conn_start_open_actv_data): Always generate a new data connection (it doesn't work to always listen on a single address).
* .Miles Bader1997-09-021-0/+31
|
* (struct ftp_conn):Miles Bader1997-09-021-1/+7
| | | | | Add the ACTV_DATA_ADDR and ACTV_DATA_CONN_QUEUE fields. Add USE_PASSIVE field.
* (ftp_conn_close):Miles Bader1997-09-021-1/+4
| | | | | | Close CONN->actv_data_conn_queue if necessary. (ftp_conn_open): Set SIN_LEN field correctly.
* (ftp_conn_free):Miles Bader1997-09-021-0/+5
| | | | | | | Free the ACTV_DATA_ADDR field. (ftp_conn_create): Initialiaze the ACTV_DATA_ADDR & ACTV_DATA_CONN_QUEUE fields. Initialize USE_PASSIVE field.
* (ftp_conn_finish_open_data,Miles Bader1997-09-021-15/+161
| | | | | | | | | | | ftp_conn_start_open_actv_data, ftp_conn_finish_open_actv_data): New functions. (ftp_conn_start_open_data): Renamed from ftp_conn_open_data. Use an active data connection if passive doesn't work. (ftp_conn_start_transfer): Use ftp_conn_start_open_data and ftp_conn_finish_open_data instead of ftp_conn_open_data.
* .Miles Bader1997-08-291-0/+5
|
* (netfs_S_file_reparent):Miles Bader1997-08-291-1/+1
| | | | Use a copy of CRED->user when creating NEW_CRED.
* (ccache_read):Miles Bader1997-08-281-2/+3
| | | | | Always update CC->max to something reasonable after a transfer. Use ports_self_interrupted to check for interrupts.
* .Miles Bader1997-08-281-0/+5
|
* (parse_common_opt):Miles Bader1997-08-281-2/+3
| | | | Turn on debugging when there *aren't* any errors...
* .Miles Bader1997-08-281-0/+5
|
* (netfs_S_dir_lookup):Miles Bader1997-08-281-16/+1
| | | | Don't lock DNP or assume it's locked when it shouldn't be.
* .Miles Bader1997-08-251-0/+4
|
* (S_io_write):Miles Bader1997-08-251-2/+4
| | | | Negate linux error codes before returning.
* .Miles Bader1997-08-221-0/+12
|
* (netfs_maxsymlinks):Miles Bader1997-08-221-9/+12
| | | | | | Initialize to 12. (parse_common_opt): Release DEBUG_LOCK even if we get an error.
* (mkdev):Miles Bader1997-08-201-1/+1
| | | | Handle devices of the form "cd*".
* .Miles Bader1997-08-201-0/+9
|
* (_fs_check_mounted):Miles Bader1997-08-201-1/+1
| | | | file_get_translator_cntl can also return ENXIO for an inactive translator.
* .Miles Bader1997-08-201-0/+5
|
* Wed Aug 20 14:31:03 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-202-2/+42
| | | | | * ops.c (netfs_attempt_link): Implement EXCL == 0 case. (netfs_attempt_rename): Implement EXCL != 0 case.
* *** empty log message ***Thomas Bushnell1997-08-202-6/+1
|
* (ports_interrupt_rpcs):Miles Bader1997-08-201-2/+5
| | | | Put RPC into the interrupted list.
* .Miles Bader1997-08-201-0/+10
|