summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Whole mass of changes from first code review. Eliminate somejkh1995-10-074-6/+1146
| | | | | | long-standing bogons, try to make things more fault tolerant in general, bring in the first version of my new package installation menu.
* Handle trailing slashes in source filenames correctly. E.g., rewritebde1995-10-071-5/+11
| | | | | | | | | `mv foo/ ../..' to `mv foo/ ../../foo/', not to `mv foo/ ../../'. The latter caused a panic. Before the trailing slash changes in the kernel, the trailing slashes caused the rename() for this mv to fail earlier, so there was no panic in 2.0. Fixes part of PR 760.
* Return EINVAL instead of panicing for rename("dir1", "dir2/..").bde1995-10-073-6/+8
| | | | | | Fixes part of PR 760. This bug seems to be very old.
* Symorder relies on malloc to return zero'ed data. Found with phkmalloc/2.phk1995-10-071-0/+1
|
* Remake generated files to reflect makesyscalls.sh changesswallace1995-10-075-262/+797
|
* Add new functionality to makesyscalls.sh:swallace1995-10-072-305/+500
| | | | | | | | | | | | | | | | | | | | | | | | o optional config-file to set vars: sysnames, sysproto, sysproto_h, syshdr, syssw, syshide, syscallprefix, switchname, namesname, sysvec. o change syntax of syscalls.master entry: remove argument count. add pseudo-prototype field defining function name and arguments. o generates correct structure definitions for all system calls in sys/sysproto.h o add type NOARGS: same as STD except do not create structure in sys/sysproto.h o add type NOPROTO: same as STD except do not create structure or function prototype in sys/sysproto.h New functionality provides complete prototype definitions. Usefull for generating files for emulated systems like my new ibcs2 code. Update syscalls.master to reflect new changes. For example, read() entry now looks like: 3 STD POSIX { int ibcs2_read(int fd, char *buf, u_int nbytes); } This is similar to how NetBSD generates these files.
* Two new sections:jfieber1995-10-0717-159/+1640
| | | | | | | | | | * Kernel configuration, from Jake Hamby <jehamby@lightside.com> I'd like as many people as possible to give this one a good check before 2.1 goes out the door. * Routing, from Coranth Gryphon <gryphon@healer.com> A bazillion formatting tweaks (only 13 bazillion more to go!)
* - mrouted doesn't allow loopback of group-specific queries, thus if adg1995-10-071-3/+5
| | | | | | | | | host sends a leave message for a group that the router is a member of that membership gets forgotten until the next general query. - the second group-specific query generated looks like a general query sent to a specific group Submitted by: Bill Fenner <fenner@parc.xerox.com>
* - mrouted doesn't allow loopback of group-specific queries, thus if adg1995-10-071-2/+2
| | | | | | | host sends a leave message for a group that the router is a member of that membership gets forgotten until the next general query. - the second group-specific query generated looks like a general query sent to a specific group
* Some NIS bug stomping:wpaul1995-10-061-24/+41
| | | | | | | | | | | | | | | | | | | | | | - In some cases, we don't properly resolve _all_ possible group memberships. If a user is a member of both local and NIS groups, we sometimes lose some of the membership info from NIS. (Reported by: Thorsten Kukuk <kukuk@uni-paderborn.de>) - Make NIS +groupname overrides actually work the way the SunOS group(5) man page says they should (make them work for all cases: getgrent(), getgrnam() and getgrgid()). - When not compiled with -DYP, grscan() should ignore entries that begin with a '+'. When compiled _with_ -DYP, grscan() should ignore +groupname entries that don't refer to real NIS groups. - Remove redundant redeclaration of fgets(), strsep() and index() inside grscan(). We already #include all the right header files for these. Note: -groupname exclusion as specified in the Sun documentation still isn't supported. This'll be a 2.2 addition. Right now I just want this stuff to work.
* Document SESS, fix PGRP (now PGID), and document some more STATE flags.bde1995-10-061-3/+20
| | | | Submitted by: clemc@locus.com and edited by me.
* Put newline at end of log()ed messages so syslog can't fill up yourwollman1995-10-061-21/+22
| | | | /var quite as fast.
* Bump SHLIB_MINOR for krb_get_local_addr() and krb_bind_local_addr()gibbs1995-10-061-1/+2
|
* st_size in struct stat has type off_t (long long) and not unsigned longtorstenb1995-10-061-1/+1
| | | | change strtoul() to strtoq()
* Die if we get errors from the tty.phk1995-10-061-3/+5
|
* Properly repaint an option in reverse video after changing its value.jkh1995-10-062-2/+4
|
* use roundup2 to avoid a bunch of 64bit divides.phk1995-10-061-5/+5
|
* Add roundup2(x,y) for when y is a power of two.phk1995-10-061-2/+3
|
* Avoid some 64bit divides.phk1995-10-062-10/+10
|
* A little hack to avoid a 64bit divide. Can go away if Gcc ever learns tophk1995-10-061-1/+6
| | | | optimise 64bit stuff...
* Avoid a 64bit divide.phk1995-10-061-2/+2
|
* Make descriptions stand-out a bit more.jkh1995-10-062-2/+8
|
* Add Scott Blachowicz <scott@sabami.seaslug.org> for his contributionasami1995-10-061-1/+2
| | | | to the zsh package vs. /etc/shells problem.
* matcd -> matcdcjkh1995-10-061-3/+3
|
* Change Alain's address per his request.asami1995-10-061-2/+2
|
* Part 2 of the overlapping kzip changes.peter1995-10-063-13/+31
| | | | Submitted by: Gary Jones(?) <gj@freefall>
* Don't put up bogus confirmation dialog.jkh1995-10-061-1/+3
|
* Support for using overlapping kzip kernels that are overwritten duringpeter1995-10-062-17/+103
| | | | | | | | | | uncompression by the "proper" kernel. These changes also add a -v option so you can see how much room you are using, and check to make sure you're not going past the 4MB boundary. This depends on the corresponding changes to sys/i386/boot/kzipboot. Submitted by: Gary Jones(?) <gj@freefall>, and my code merged in.
* Fix a longstanding bug in `lpr -r'. I used alloca() instead ofjkh1995-10-051-0/+1
| | | | | malloc(), but the change is fundamentally Chris's. Submitted by: Chris Stenton <jacs@gnome.co.uk>
* Fix a bug in a recent commit that broke more so that itmpp1995-10-051-0/+2
| | | | | would no longer properly detect when "vi" was being called, and thus would not call vi with the "+line#" argument.
* Kerberos can now deal with multi-homed clients.gibbs1995-10-0515-65/+313
| | | | | | | | | | | | | | Kerberos obtains a network address for the local host from the routing tables and uses it consistently for all Kerberos transactions. This ensures that packets only leave the *authenticated* interface. Clients who open and use their own sockets for encrypted or authenticated correspondance to kerberos services should bind their sockets to the same address as that used by kerberos. krb_get_local_addr() and krb_bind_local_addr() allow clients to obtain the local address or bind a socket to the local address used by Kerberos respectively. Reviewed by: Mark Murray <markm>, Garrett Wollman <wollman> Obtained from: concept by Dieter Dworkin Muller <dworkin@village.org>
* Make the netboot more tolerant about the config file.phk1995-10-051-4/+9
|
* Convert ARP to use queue.h macros rather than insque/remque. Whilewollman1995-10-052-21/+21
| | | | | | | we're at it, eliminate obsolete exposure of `struct llinfo_arp' to the world. (This dates back to when ARP entries were not stored in the routing table, and there was no other way for the `arp' program to read the whole table than to grovel around in /dev/kmem.)
* Comment out, but don't delete stuff we don't use.phk1995-10-051-6/+18
| | | | Classify in "gcc stuff" and "legitimate stuff".
* remove GCC divsi3 routines which are never used.phk1995-10-055-56/+5
|
* remove GCC support functions from libc.phk1995-10-052-4/+2
| | | | Should never have been here in the first place.
* Credit "Adrian T. Filipi-Martin" <atf3r@agate.cs.virginia.edu> for theasami1995-10-051-1/+2
| | | | tk4 fix.
* Describe the correct default situation for the various permissionjoerg1995-10-051-3/+3
| | | | | | options. Submitted by: sgk@troutmask.apl.washington.edu (Steven G. Kargl)
* Ahhed ohmon@sfc.keio.ac.jp (Hideaki Ohmon) for contribution of the ptexasami1995-10-051-1/+2
| | | | port.
* This is a FreeBSD manpage, not a NetBSD manpage. :)nate1995-10-054-8/+8
|
* Change kernel name to make a more unique target for sed.jkh1995-10-051-2/+2
|
* 1) Fixed irq logic so that it uses the kernel configured irq if it doesn'tdg1995-10-051-5/+20
| | | | | | | | match the board setting. 2) Fixed the warning message to properly print the irq mismatch (as opposed to the bit encoded value). 3) Add irq autodetection if the kernel has "?" or no irq specified. 4) Add missing splimp protection in ixioctl().
* Fix pollution of application namespace by declarations of kernelbde1995-10-052-3/+4
| | | | | | | | | | | | | | functions. The application header <sys/user.h> includes <vm/vm.h> which includes <vm/lock.h>... vm.h: Don't include <machine/cpufunc.h>. It is already included by <sys/systm.h> in the kernel and isn't designed to be included by applications (the 2.1 version causes a syntax error in C++ and the current version has initializers that are invalid in strict C++). lock.h: Only declare kernel functions if KERNEL is defined.
* Don't wait for output to drain in pppclose(). Discard output immediatelybde1995-10-051-5/+10
| | | | | | | | | | | | | | | for the same reasons as in slclose(). Free the cblock in the canonical queue in pppclose(). This is a no-op in the usual cases where the tty is being closed or the line discipline is being switched back to the standard discipline, but it saves a cblock if the line discipline is being switched to one that doesn't use the canonical queue. Add prototypes. I use `extern' in prototypes for functions with bogus linkage. This should be fixed someday. Continue cleaning up new init stuff yet again.
* Fix the problem that I aroused with the last commit..peter1995-10-051-4/+10
| | | | | | | | | | | | | | | What was happening, is if syslogd was not running, syslog() would do a strcat("\r\n") on a non-null-terminated buffer, and write it to the console. This meant that sometimes extra characters could be written to the console during boot, depending on the stack contents. This totally avoids the potential problem by using writev() like the rest of the does, and avoid modifying the buffer after the trouble we've gone to to carefully protect it. This is actually a trivial fix, in spite of the long commit message.. :-) It only appeared during boot and shutdown with syslogd stopped.
* Add CONFIGURE_ENV: pass this environment to configure script.ache1995-10-041-2/+3
| | | | Allows pre-set some variables to eliminate wrong tests
* This upgrades the driver for Cronyx-Sigma multiplexor boardsjkh1995-10-048-372/+846
| | | | | from version 1.2 to version 1.9. Submitted by: Serge Vakulenko, <vak@cronyx.ru>
* I have applied my last changes correcting the bug in dgbselect() to itjkh1995-10-044-204/+92
| | | | | | | | | | | | and here is the patch. Submit it please. Thank you! BTW, there is a new option "NDGBPORTS". By default it is equal to NDGB*16 and means the number of ports of all Digiboards for which the tty structures are reserved. It can be set to the real value in config-file like: options "NDGBPORTS=8" Submitted by: Serge A. Babkin <babkin@hq.icb.chel.su>
* Make a whole bunch of PCB variables ints rather than shorts. There appearwollman1995-10-041-16/+16
| | | | | | | | to be no ill effects, and so far as Iknow none of the variables in question depend on 16-bit wraparound behavior. (The sizes are in many cases relics from when a PCB had to fit inside a 128-byte mbuf. PCBs are no longer stored in that way, and the old structure would not have fit, either.)
* Make a link-time warning for the use of gets().peter1995-10-041-0/+3
| | | | | | | IMHO, the run-time warning should come out, but I'm not game to start that fight yet... This uses a feature of the gnu linker. Inspired by: NetBSD
OpenPOWER on IntegriCloud