Commit Graph

343 Commits

Author SHA1 Message Date
pk 1a9159c7ba Check for zero sized BSS to avoid a big no-op syscall (per Mike Hibler). 1995-08-31 22:07:25 +00:00
pk f6797ed4f1 Install the manual page. 1995-08-25 10:08:45 +00:00
cgd 6c5f148828 log open failure every 10th try (that was the old behaviour) UNLESS
the error is ENXIO and it's already been logged.  (this allows people
to leave getty's running on nonexistent devices without filling their
syslog.  while it's arguable that that might not be a good idea, i've
found it to be _very_ useful, because it allows me to rdist /etc/ttys.)
1995-08-13 04:08:27 +00:00
pk 72acb4fe30 Handle object code with the "large" model PIC (eg. gcc's `-fPIC' option). 1995-08-04 21:32:15 +00:00
pk 4a5c9a20e5 Use `xdrproc_t' to declare xdr_{args,result}. (takes care of PR#1182). 1995-07-09 00:30:11 +00:00
pk b542137ece Oops, previous needs <limits.h>
Also, previous addresses PR#1183.
1995-07-08 23:57:06 +00:00
pk 39565cfe93 Call kvm_openfiles() with suitable arguments.
(Note, the error reporting mechanism in here is quite braindead)
1995-07-08 23:53:46 +00:00
pk f42537952b man page for the run-time linker 1995-06-30 12:23:10 +00:00
pk fed935eb9a Conform to rpcgen generated prototypes. 1995-06-24 15:57:18 +00:00
pk 5bf5f9214d Make declarations confirm to rpcgen generated prototypes. 1995-06-24 15:47:49 +00:00
pk 45359beaf4 Initialise after malloc (fixes PR#1149).
Also, correct comparison when looking in `prefered' paths.
1995-06-20 23:07:03 +00:00
jtc 1847eaed9f sys/termios.h -> termios.h 1995-06-19 22:47:37 +00:00
cgd fe84ea21f6 update for new network queues 1995-06-19 21:59:31 +00:00
cgd 2db81cafc5 update for new networking queue structures 1995-06-18 22:44:10 +00:00
cgd 788733b7a9 typeof(timeval.tv_sec) != time_t 1995-06-07 17:14:21 +00:00
pk d680ed6b95 #include <dlfcn.h> 1995-06-05 00:08:38 +00:00
pk 878392000d Put dlopen() et.al. declarations in separate header file for compatibility. 1995-06-05 00:08:07 +00:00
pk fdd7092874 Cache two more environment variable values. 1995-06-04 23:21:35 +00:00
pk fe9497fd8c Revive library search paths. 1995-06-04 21:57:18 +00:00
pk ad760ce3d6 Implement compiled-in library search paths: any `-L' argument encountered
while `dynamic link-mode' is on, is recorded in the executable. The
run-time linker will search these paths after $LD_LIBRARY_PATH but
before the default set and those currently in the hints file.
The feature is disabled whenever for set[ug]id programs.
1995-06-04 21:56:22 +00:00
jtc ad6a2b10b2 The tftpd daemon must be invoked as root in order for the chroot()
call to succeed, and must give up those privledges as soon as the new
root has been aquired.  Use setgid() & setuid() to explicitly set the
user and group IDs to non- priveleged values.

This change now requires tftpd to be executed by root.  I haven't
studied the security implications of making it setuid root, so
inetd.conf needs to be changed to start it as root.
1995-06-04 20:48:22 +00:00
mycroft e4cc49cc0d Fill in sin_len. 1995-06-03 22:47:20 +00:00
mycroft 5860921eda Fill in sin_len. 1995-06-03 22:37:19 +00:00
phil 46466fb2d7 Correct copyright. 1995-05-29 18:11:35 +00:00
mycroft cc8066939d Use inet_aton(), not inet_addr(). 1995-05-21 00:39:11 +00:00
jtc 9ae90685f2 Winning Strategies has placed this code in the public domain. 1995-05-11 23:03:44 +00:00
briggs ad2b81e4f0 jbsr takes one argument, not two. Apparently the assembler quietly
ignores the second...
Pointed out by uhenric@mcl.ucsb.edu (Henric Jungheim).
1995-05-07 13:22:12 +00:00
mycroft 78cb5bbe77 Use POSIX tty semantics. 1995-05-02 02:05:47 +00:00
jtc 2d577aafd2 Install manpage as foo(8) as well as rpc.foo(8), a convenient shorthand.
Also make sure that foo and rpc.foo are mentioned in the NAME section.
1995-04-12 00:47:27 +00:00
jtc 0e1df05653 #include <sys/signal.h> -> <signal.h> 1995-04-12 00:41:40 +00:00
cgd 8954551479 typo. 1995-04-11 02:58:40 +00:00
cgd 6a9917621c clean up RCS Id's and a couple of stype nits.
Also, fix bug 947 (reported by Luke Mewburn, extraneous vers.c)
1995-04-11 02:44:45 +00:00
pk 28dba22b40 Fix bogosities in cascade stuff. 1995-04-01 20:56:55 +00:00
jtc ae0b9c2010 KERNEL -> _KERNEL 1995-03-28 17:18:59 +00:00
mycroft eb82f2b314 __timersub --> timersub 1995-03-26 23:36:44 +00:00
mycroft dad7a18390 Use IPTOS_THROUGHPUT for passive mode data connection. 1995-03-22 16:55:35 +00:00
mycroft ebeae88da2 Use POSIX signals. 1995-03-21 21:47:04 +00:00
cgd 930fffb85d clean up id tags 1995-03-21 07:08:15 +00:00
brezak 4036a63b78 Fill in ttyname for cred file uniquifier under KERBEROS (From Michael Graff) 1995-03-08 19:50:54 +00:00
pk b6340cabe2 Burn LD_RUN_PATH; I didn't read the SVR5 man-pages carefully enough. 1995-03-06 22:59:10 +00:00
pk 64edf8f86f Code from Matthew Green to do DL cascading "in the first degree".
Two `fprintf(stderr, ..)' => `warnx(..)'.
1995-03-06 20:51:24 +00:00
cgd 3a92da2d89 properly init group list before running the job. 1995-03-02 22:06:06 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
jtc 490ec0010d Change mention of /etc/passwd to /etc/pwd.db, as reported by PR #556. 1995-02-17 09:19:45 +00:00
christos 770ca3a8d6 Fix:
Save hostname in a permanent buffer, otherwise ruserok()
can trash it if it calls gethostbyname() or inet_ntoa().
Repeat by:
Add entries in .rhosts and login from a machine that does
not have an entry there. Notice that the error message
in syslog contains the last hostname in .rhosts and not
the original remote hostname.
1995-01-20 18:48:50 +00:00
mycroft ae92c26c4c Several consistency nits, and fix a byte order problem in md_swapout_reloc(). 1995-01-17 06:44:38 +00:00
mycroft 2c64d3be89 Several consistency nits, and don't define the get_*() macros twice. 1995-01-17 06:41:43 +00:00
mycroft 8f6e962b3e Die quietly when we time out. 1995-01-13 21:28:00 +00:00
mycroft 5f5a0a3e8d Oops. 1995-01-13 21:07:00 +00:00
mycroft f8bc7fb821 Only time out if called from inetd. Other cleanup. 1995-01-13 20:53:08 +00:00