Commit Graph

467 Commits

Author SHA1 Message Date
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
mycroft
516fa506ed Make sure we reply to the request, so the client will stop sending. 1995-01-13 20:46:33 +00:00
mycroft
b481f03023 General cleanup. 1995-01-13 19:59:13 +00:00
mycroft
48bf1a7fe0 Fix error messages. 1995-01-13 19:37:52 +00:00
mycroft
8ee607a670 Need syslog.h. 1995-01-13 19:18:08 +00:00
mycroft
93335c3b0e Free argument list (for !from_inetd case). General cleanup. 1995-01-13 19:16:45 +00:00
mycroft
e3cbb4b410 Fix this for the case of not running from inetd. Send error messages to a
useful place.  General cleanup.
1995-01-13 18:51:39 +00:00
mycroft
002aa598e1 Correct calling sequence of getsockname(2). 1995-01-13 06:14:28 +00:00
pk
a9384f4676 Define `MAN'. 1994-12-25 12:32:12 +00:00
pk
da34da6096 Put a reserved field into use (weak symbol support). 1994-12-23 20:16:59 +00:00
cgd
a59d6b2cae stdlib.h for protos 1994-12-23 15:59:21 +00:00
cgd
b54e75897f be a bit more careful with types, casts, and and function declarations. 1994-12-23 14:29:31 +00:00
cgd
ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
cgd
b32916a5d5 new way of specifying man pages. 1994-12-22 09:23:05 +00:00
glass
e34b72b0cb vis(3)ify remote user name. Fixes bug 589. Fix basically as submitted by matthew green 1994-12-21 20:03:48 +00:00
pk
e46ed32748 Bummer! Undo mmap() changes in rev. 1.26; they royally screw up the
kernel's pmap address preference mechanism.
1994-12-19 12:21:21 +00:00
pk
e2025017e0 Handle "/dev/zero" stuff more globally. 1994-12-18 16:05:49 +00:00
pk
b8937d605d Re-arrange mmap() calls, per Charles' suggestion. 1994-12-18 15:38:55 +00:00
pk
524e00b29b Ensure contiguous chunks for all of an object's address space (text+data+bss). 1994-12-07 20:30:53 +00:00
mycroft
9ea7c211d9 Fix some other broken comments. 1994-12-04 08:26:22 +00:00
mycroft
ffadc8821a Remove silly comment that was causing `make depend' to barf. 1994-12-04 07:42:44 +00:00
pk
7df5d3ecf2 Another md macro to initialize a home-made struct reloc needed
for N_SET* type relocations in shared objects.
1994-11-30 18:24:56 +00:00
phil
0a13ae3ba2 patches from Matthias
new RCS id format
1994-11-30 06:20:42 +00:00
jtc
3a08d567f4 Misc manpages fixes (PR #551) 1994-11-03 15:37:46 +00:00
mycroft
15cea8b764 Don't close the hints file while it's mapped, but unmap and close it after
loading.
1994-10-26 20:21:42 +00:00
mycroft
e23e2b1219 Remove two unused functions. 1994-10-26 20:03:31 +00:00
mycroft
c1a45e7763 Clean this up a bit, and use the trap gate to enter the kernel. 1994-10-26 19:41:13 +00:00
cgd
4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
mycroft
206b57f8c9 Minor tweak to aid cross-compiling. 1994-09-24 01:02:51 +00:00
mycroft
4fb5f48ce0 Remove old comment about converting to termios. 1994-09-24 00:56:05 +00:00
mycroft
8f58e94ed3 Import original 4.4-Lite version. 1994-09-24 00:41:59 +00:00
mycroft
667b5ea158 Merge 4.4-Lite version. 1994-09-22 09:24:46 +00:00
jtc
a5f771b355 Fix PR #491, what could have been a big security hole 1994-09-20 23:09:14 +00:00
deraadt
43965575ed NBPG --> getpagesize() 1994-09-19 16:58:18 +00:00
mycroft
72e34bc0d4 Shrink ld.so by 12k. 1994-09-19 04:49:02 +00:00
mycroft
7e59c0d1fc Fix typo in date format. 1994-09-18 00:14:39 +00:00
mycroft
6386e4b6a5 Document the % escapes I added, and clean up the description of %h a bit. 1994-09-16 22:02:34 +00:00
pk
6b619f18ed Use tcflush(). 1994-09-05 09:09:43 +00:00
pk
437ee32a52 Set control flags properly while in read mode.
Supply process ID when syslogging.
1994-09-05 08:52:49 +00:00
mycroft
2f65aa5da5 Fix pad insertion for termios. 1994-08-24 16:42:23 +00:00
mycroft
4695fa8444 Use _POSIX_VDISABLE, not \377. 1994-08-24 16:39:24 +00:00
mycroft
d72774f29d Use cfset[io]speed() to set termios speeds, per POSIX. 1994-08-24 07:54:50 +00:00
pk
41671de8e6 Define Global Offset Table range. 1994-08-21 15:15:43 +00:00
pk
4bba3e65c6 The man page says to disable input parity checking if `ap' is on. 1994-08-17 20:27:59 +00:00
pk
fe82241620 Cleanup import, merge local changes. 1994-08-17 20:10:27 +00:00
pk
1ea392708b Import 4.4-Lite version. 1994-08-17 19:50:13 +00:00
phil
7297407d7b fix from Matthias Pfaller. 1994-08-16 23:18:20 +00:00
pk
462fa7ef48 Handle parity stuff more sensibly; ep' and op' take precedence over `ap'.
Update tty_compat().
1994-08-15 15:46:44 +00:00
pk
233cc208f0 Re-add `LD_WARN_NON_PURE_CODE' that went missing. 1994-08-12 08:11:16 +00:00
pk
867591e7cb Relax minor version number checking somewhat; issue warning if minor
version is less than expected.
1994-08-07 10:34:40 +00:00
jtc
9c98b1cffd Sync with 4.4 lite 1994-08-06 23:26:31 +00:00
jtc
d7b008b8f9 Change format specification from %ld to %qd, as off_t's are now quads. 1994-08-05 23:41:15 +00:00
jtc
c3a4cec791 Include proper header files to bring prototypes into scope 1994-08-05 01:01:16 +00:00
deraadt
1a69335ad4 do not need -I/sys 1994-08-03 20:46:47 +00:00
pk
9e0ddbbe6f Remove some unnecessary code. 1994-08-03 15:57:58 +00:00
chopps
b6d669a07c binder_entry() must save all scratch registers to make the process
of binding functions completely transparent.
1994-08-03 15:57:54 +00:00
brezak
ad6e6fe7ab As long as KERBEROS is here at least let it compile cleanly... 1994-07-25 18:48:40 +00:00
mycroft
02b0255ae0 Fix uninitialized variable. 1994-07-11 21:51:58 +00:00
mycroft
e9ea848c35 Add lfs_cleanerd. 1994-07-07 19:17:25 +00:00
cgd
775b690718 fix typo; from phil 1994-07-04 19:46:37 +00:00
pk
1cf6a27eef error => warnx 1994-06-29 11:15:34 +00:00
mycroft
ec9f6d82c2 Clean up deleted files. 1994-06-29 01:49:53 +00:00
deraadt
d6743f02e5 4.4-lite, plus our local changes 1994-06-29 01:49:37 +00:00
mycroft
2d9b0d8e36 Clean up deleted files. 1994-06-27 21:48:07 +00:00
gwr
ab0534a763 Remove: bootpd 1994-06-27 21:40:42 +00:00
pk
009be1653a strdup() doesn't grok NULL pointers 1994-06-24 13:31:34 +00:00
deraadt
bbc3d2c750 horrible spacing 1994-06-24 08:17:42 +00:00
deraadt
a79ae34d65 compile rpc.rquotad & rpc.sprayd 1994-06-24 07:45:03 +00:00
deraadt
8b6e0e0481 from bouyer@ensta.fr; cleaned by me 1994-06-24 07:42:26 +00:00
deraadt
43aa830eba from <christos@deshaw.com> 1994-06-23 08:11:33 +00:00
chopps
6a0e2061ce some changes for new style cachectl. remains compat for <= 030 1994-06-13 05:28:39 +00:00
pk
a43fd7b3a2 Conversion to err()/warn() for error reports. 1994-06-10 15:16:32 +00:00
pk
a6bf4f8176 Conversion to err()/warn() for error reports.
Minor bug fixes:
	a case of free()ing in the wrong order. (from Rick Murphey).
	processing alias symbol twice (sometimes).
Some miscellaneous cleanup.
1994-06-10 15:16:04 +00:00
mycroft
2cf76ce530 From 4.4-Lite, with local changes. 1994-06-08 18:42:09 +00:00
cgd
ac14db2c01 kill kerberos and stream encryption support, so it's exportable. 1994-06-05 15:35:54 +00:00
cgd
2efe726b86 clean up import, RCS ids 1994-06-05 15:33:20 +00:00
cgd
7972ccad6f update to match 4.4-Lite 1994-06-05 14:31:15 +00:00
cgd
b1e3471d49 version number update 1994-06-05 14:27:12 +00:00
cgd
2642138ed1 kill kerberos and stream encryption support, so it's exportable. 1994-06-05 13:57:51 +00:00
cgd
13514eadce clean up import, RCS ids 1994-06-05 13:49:01 +00:00
pk
eb9d2b8c28 another case of overloading hostent's storage. 1994-06-02 19:16:37 +00:00
mycroft
fadca2ce79 Clean up deleted files. 1994-05-31 18:05:24 +00:00
gwr
8e9adf9acf Make things in the right places. 1994-05-30 20:18:34 +00:00
mycroft
4b4171b504 Clean up deleted files. 1994-05-30 20:09:03 +00:00
gwr
0d6e953d74 Make things in the right places. 1994-05-30 20:08:05 +00:00
cgd
b451f58608 add BINDIR?='s so that it'll install 1994-05-30 05:01:43 +00:00
gwr
71905435a4 New makefiles using subdirectories (thanks to Theo). 1994-05-27 22:05:44 +00:00
gwr
7bd54bd9bc New makefiles using subdirectories (thanks to Theo). 1994-05-27 21:44:39 +00:00
gwr
c7b51e6891 Work around missing SIOCSARP (just run arp for now). 1994-05-27 21:30:17 +00:00
pk
7cb090d9a7 Use new kvm interface (fixes bug 253)
Also, use the crummy protocol's idea of CPU times.
1994-05-25 19:40:40 +00:00
pk
ca0065ab75 Another move to .data to please gdb. 1994-05-25 10:14:37 +00:00
mycroft
24e02139fb Clean up deleted files. 1994-05-24 15:21:00 +00:00
gwr
438d67fe4e Wholesale update to bootp-2.3.7 release. 1994-05-24 15:19:56 +00:00
pk
4369371ef0 Enable dl*() prototypes. 1994-05-24 10:47:48 +00:00
pk
f28b14e8b3 Force some string constants into the data segment (for core-dump reading).
Rename internal dl_*() functions.
Do run-time symbol alias processing.
1994-05-24 10:44:06 +00:00
deraadt
1a3b9af761 add skey support 1994-05-24 06:52:17 +00:00
pk
f4abfb1f2f Add underscore to _check_rhosts_file 1994-05-19 22:54:19 +00:00
cgd
00b7161e8e more #undefs to get it to compile! perverted 1994-05-14 22:12:06 +00:00
cgd
c3174f824f update for sysctl/new kvm 1994-05-14 19:39:03 +00:00
deraadt
c77d5c6777 fix from <arndt@uniko.uni-koblenz.de> 1994-05-05 10:06:32 +00:00
cgd
e3926c6721 fix formatting bogon 1994-04-29 21:48:49 +00:00
pk
7243f6f6fb Towards termios. 1994-04-28 22:12:28 +00:00
pk
b9b9f6e62c Mark a few capabilities as unsupported.
Document some new ones.
1994-04-28 22:11:14 +00:00
pk
1da83c2c95 Correct format of `np' item. 1994-04-21 07:52:14 +00:00
pk
5ee9535a36 Another off_t glitch. 1994-04-19 13:28:29 +00:00
glass
6cc6cf15ee move bootpd from othersrc to libexec. add bootptab file 1994-04-18 05:15:36 +00:00
cgd
41a949b1b4 renamed 'md' to 'mb' 1994-04-16 05:15:51 +00:00
cgd
353d8f840d quick cut at adding 'md' for MDMBUF 1994-04-16 03:45:24 +00:00
cgd
6fb7527ea2 sum -> cnt 1994-04-15 03:21:24 +00:00
cgd
d7e56d367a use setproctitle 1994-04-14 03:15:37 +00:00
cgd
e918c8c3f2 document np 1994-04-12 03:55:47 +00:00
pk
f8af116033 dlopen() should make a copy of argument (Thomas Eberhardt). 1994-04-07 19:46:30 +00:00
pk
a426b2b937 ns32k support by Matthias Pfaller. 1994-04-07 19:44:46 +00:00
pk
afc89926d8 Use machine architecture when examining object files for compatibility. 1994-04-07 19:43:37 +00:00
cgd
8940935dd1 Jarle.F.Greipsland@idt.unit.no's changes to allow for password-protected
chrooted ftp logins.
1994-04-06 20:49:52 +00:00
cgd
c889ba6f68 kill bad cast 1994-04-01 03:51:44 +00:00
cgd
86be4d6208 long cast 1994-04-01 03:29:58 +00:00
cgd
2ab4a0ae5c some changes to make Kerberos a bit easier to use. from
Michael Graff <explorer@vorpal.com>, with some work by myself...
1994-03-30 02:49:15 +00:00
cgd
95d6a185be no more MAP_FILE 1994-03-28 02:07:04 +00:00
cgd
9c6214e2d9 cut-and-paste-o's, pointed out by Andras Olah <olah@cs.utwente.nl> 1994-03-23 03:36:03 +00:00
cgd
2c35fc2827 another flag 1994-03-21 00:57:43 +00:00
cgd
aebbb61b8f support for compressed and gzipped man pages. more or less from
Luke Mewburn <lm@rmit.edu.au>
1994-03-19 08:09:16 +00:00
cgd
9d26d3af36 get section right; from Luke Mewburn <lm@rmit.edu.au> 1994-03-19 08:04:16 +00:00
pk
0816b2a18c TIOCFLUSH requires argument 1994-03-17 13:55:48 +00:00
cgd
d169b3a8b3 add some new flags for /etc/ttys 1994-03-12 06:55:42 +00:00
mycroft
8c67085e11 Clean up deleted files. 1994-03-09 05:00:02 +00:00
cgd
03fe423b30 fix bin/140: use getcap(3) routines 1994-03-09 04:59:55 +00:00
chopps
8e6af40327 oops 1994-03-08 23:50:14 +00:00
chopps
3fcebc3096 flush instruction cache. 1994-03-08 06:52:33 +00:00
mycroft
6ec372921f Clean up deleted files. 1994-03-08 06:40:08 +00:00
mycroft
7aaedc30b0 We don't need or want set_ttydefaults(). 1994-03-08 06:40:04 +00:00
cgd
9fd1fef05a From Christos Zoulas <christos@deshaw.com>:
As promised. the problem was that tftpd would core dump if given no arguments.
I fixed it to use getopt. I also changed 0 to fd, because I had added some
debugging code that allowed me to start it from the command line.
1994-03-01 08:27:44 +00:00
cgd
600f45bda9 add uname % format stuff back in 1994-02-25 03:26:26 +00:00
cgd
290a2c4f88 new telnetd from ftp.cray.com. Encryption support ripped out, pending
figuring out what to do about it...
1994-02-25 03:20:39 +00:00
pk
476ec5747d Don't use someone else's name when logging 1994-02-22 15:37:19 +00:00
cgd
8607385ae2 didn't apply that patch verbatim, and needless to say, i biffed it. 1994-02-18 18:36:54 +00:00
cgd
90d79a8c10 fix from vdlinden@fwi.uva.nl (Frank van der Linden) to prevent null deref 1994-02-18 18:34:24 +00:00
jtc
fe0c74f41f Look for X11 in various likely places.
From Thomas Eberhardt, who adapted it from similar code in gxditview.
1994-02-16 01:06:26 +00:00
pk
1bb4f06e2a Libraries which are in the hints file but not in one's LD_LIBRARY_PATH (if
set) were not found.
1994-02-15 22:51:23 +00:00
pk
9b345fd6e5 Define an adjustment for {TEXT,DAT}_ADDRs.
Hide some things from rtld with #ifdef RTLD.
1994-02-10 21:21:27 +00:00
briggs
9476a25141 Initialize return value from deliver() to zero. I guess the 386 crowd
has been fortunate.  It's odd to see mail delivered and get a bounce
back, though, which is what was happening--spent a while thinking it
was sendmail.
1994-02-10 05:33:21 +00:00
cgd
8310908256 actually do the install when done 1994-02-07 05:11:24 +00:00
cgd
5bdeccb8d4 add a use for -v, for happy paranoid sysadmins 1994-02-04 23:42:16 +00:00
cgd
1efbe5ebae previous change was somewhat nonsensical 1994-02-04 23:20:04 +00:00
cgd
9caa83cfc6 clean up, rcs ids, etc. 1994-02-04 23:17:50 +00:00
cgd
161220d640 add identd 1994-02-04 22:14:09 +00:00
cgd
642afa1850 import of pidentd 2.1.2, by Peter Eriksson <pen@lysator.liu.se>. needs clennup 1994-02-04 21:41:32 +00:00
cgd
b65d6c0390 better fix for security problems, and minor cleanup 1994-02-01 00:32:22 +00:00
briggs
476d26c797 Change from bicknell@csugrad.cs.vt.edu and ceharris@csugrad.cs.vt.edu.
This closes an apparent security problem on systems where users have
write access to the mail spool.  Since root actually runs comsat, a
user could link their mail file to a system file that they normally
could not access, and use comsat to view said file.  This fix simply
makes sure that the mail file is a REGular file.
1994-01-30 18:32:39 +00:00
jtc
fc1d8f3bac Fix spelling error in Copyright notice 1994-01-29 01:54:01 +00:00
jtc
42f840d29d Fix spelling error in Copyright notice 1994-01-29 01:43:03 +00:00
pk
bc9bb1a343 Like others, allow for SunOS .o files. 1994-01-28 21:02:21 +00:00
pk
d27581fb4b Use somewhat customized version of malloc, in stead of relying on a
crummy sbrk() backend; proper aligment must be guaranteed on all archs.
Drafting dlopen, dlsym, et.al.
1994-01-28 21:01:20 +00:00
pk
90cfba21cb Use `.type' directives generated by gcc.
Numerous internal changes & bug fixes.
NOTE: must re-compile & re-link shared libraries before used to link programs.
1994-01-28 20:56:09 +00:00
pk
ad127b0a0a Redone from scratch, but maintain SunOS compatibility. 1994-01-28 20:26:52 +00:00
cgd
ecd53521f1 no longer need lib hackery 1994-01-28 05:13:28 +00:00
cgd
c73f928505 don't need libs hackery any longer 1994-01-28 05:11:47 +00:00
cgd
1ac7c7adaa don't need -lutil 1994-01-28 00:31:32 +00:00
cgd
9043c5a8de hack to make getloadavg() link properly 1994-01-28 00:30:52 +00:00
cgd
bca5d4ac26 hack to make getloadavg() link properly 1994-01-28 00:26:35 +00:00
mycroft
24249baa85 Clean up deleted files. 1994-01-24 05:59:40 +00:00
cgd
a8078f319e ELVIS IS DEAD, DAMNIT! 1994-01-24 05:59:28 +00:00
cgd
765e3e7b93 there will be no crond (or cron) tomorrow! 1994-01-15 19:47:51 +00:00
mycroft
3ce42c6893 Clean up deleted files. 1994-01-12 19:26:40 +00:00
pk
954ef13a90 Fill in gdb hook. 1994-01-12 19:19:09 +00:00
jtc
2a22045ae0 Vixie Cron 3.0-prerelease, patch 11 1994-01-12 18:35:59 +00:00
jtc
e827862b77 Vixie Cron 3.0-prerelease, patch 11 1994-01-12 18:35:45 +00:00
jtc
59f16ac068 Vixie Cron 3.0-prerelease, patch 11 1994-01-12 18:34:24 +00:00
jtc
e59e4eb1ce Vixie Cron 3.0-prerelease, patch 10 1994-01-11 19:10:45 +00:00
mycroft
45fe1558b2 Add -s flag, per Roland McGrath, with changes and a manual page addition by me. 1994-01-10 16:29:46 +00:00
mycroft
58e3d058ae Clean up deleted files. 1994-01-05 21:40:25 +00:00
jtc
e67478fe79 Rename crond to cron 1994-01-05 21:37:12 +00:00
jtc
5f2a029904 Remove -DCRONDIR, macro is set correctly in pathnames.h. 1994-01-05 21:10:29 +00:00
jtc
ba46c17534 Converted Makefile to use BSD make. 1994-01-05 20:57:27 +00:00
mycroft
22183f4e79 Clean up deleted files. 1994-01-05 20:52:52 +00:00
jtc
644d4f8787 Vixie Cron 3.0-prerelease, patch 9 1994-01-05 20:40:12 +00:00
cgd
2b82a53661 add '-L' flag, for those of us who are *really* paranoid...
Logs all rsh commands (including failed ones).
1993-12-23 09:05:45 +00:00