Commit Graph

15859 Commits

Author SHA1 Message Date
peter
0692a293b6 Misc cleanups and fixes from Bruce:
- don't put \n on error() calls, error adds it already.
 - don't prepend "ulimit" on error() calls in miscbltin.c.
 - getopt typo on ulimit -p -> -u conversion
 - get/setrlimit() calls were not being error checked

ulimit formatting cleanup from me, use same wording as bash on Bruce's
suggestion.  Add ulimit arg to output on Joerg's suggestion.
1996-09-03 13:35:11 +00:00
peter
122fd3e75a add back stub libresolv 1996-09-03 13:24:59 +00:00
peter
62cc0611e8 Install in /usr/lib/compat where ld.so can find it for older binaries,
but autoconf/ld/etc won't find it for new builds..
1996-09-03 13:22:58 +00:00
bde
b32b240721 Added #include of <unistd.h> so that there is some chance that
_POSIX_SAVED_IDS is defined.  This feature was broken for a day
or two.
1996-09-03 12:52:58 +00:00
ache
8e6a325bf4 Describe POSIX saved IDs behaviour better 1996-09-03 11:32:01 +00:00
peter
90c8dabe75 Fix -Wall warning in skeleton parser 1996-09-03 10:56:32 +00:00
asami
bbb6994e50 Second phase of merge, get rid of more machine-independent-dependencies.
Get rid of pc98/pc98/pc98_device.h.

Submitted by:	The FreeBSD(98) Development Team
1996-09-03 10:24:29 +00:00
peter
f8bde85e20 Nearly forgot; add Juha Inkari <inkari@cc.hut.fi> 1996-09-03 09:35:05 +00:00
joerg
ae3ee69e4d Make the yacc skeleton aware of C++. It was previously broken in the
YYDEBUG case (getenv() declared wrong).
1996-09-03 08:00:26 +00:00
dg
2b8eb49135 Implemented user side of "noatime" mount option. This option disables
the file access time update on reads and can be useful in reducing
filesystem overhead in cases where the access time is not important (like
Usenet news spools).
1996-09-03 07:13:56 +00:00
dg
4aa33638eb Implemented kernel side of MNT_NOATIME mount option. This option disables
the file access time update on reads and can be useful in reducing
filesystem overhead in cases where the access time is not important (like
Usenet news spools).
1996-09-03 07:09:11 +00:00
julian
c6223a506f allow a new loopback route to overwrite an old one..
this allows the atalkd to be restarted.. a better fix will come later.
1996-09-03 06:23:13 +00:00
peter
a0cc35f037 Fix my typo here from last commit.
(same bug on both US and internat version)

Submitted by: Juha Inkari <inkari@cc.hut.fi>
1996-09-02 23:49:09 +00:00
peter
1238654310 Add ${DPADD}, $Id$ 1996-09-02 23:40:08 +00:00
peter
e6c0bad151 Set ${DPADD}, use +=, add $Id$ 1996-09-02 23:38:58 +00:00
se
4f76890c16 Correct previous Orion specific fix: The configuration register
access function always returns a DWORD aligned DWORD ...
1996-09-02 21:33:41 +00:00
se
d6fd1776b0 Add preliminary support for the Orion PCI chip set. It is special in the
way it attaches multiple PCI buses directly to the CPU, instead of having
them hanging off from PCI to PCI bridges. This code is a hack, and will
be obsoleted by the planned rework of the PCI code, which will change the
dealing with PCI to PCI bridges and other special devices significantly.

The patch also adds a kern_devconf entry for PCI bus 0 which is assumed
to be a child of cpu0. The new PCI code will make it possible to hand out
the kern_devconf structure to a pci device being attached, since this is
(regretably, IMHO) required by a few ISA devices.

Finally there are new PCI ids for some Intel chip set devices, which had
already been known to 2.1.5R, but did not make it into -current. This closes
"kern/1558: PCI probe seems to have lost a device in -current".
1996-09-02 21:23:06 +00:00
phk
a74ea45a26 Add cfree,
Move to usr/lib/compat
1996-09-02 13:15:01 +00:00
phk
59f8ce79a3 Add support for shlibs in /usr/lib/compat that the linker will not find
at compile time, but ldd will at runtime.
1996-09-02 13:10:02 +00:00
fenner
bea26e19ed Bugfix and simplification for rev 1.34: make sure that the route
is non-null before trying to delete it in rt_setgate(), which then
allows removal of the special-case code from the RTM_ADD case.
This should fix the panics that joerg and Phil Karn have been seeing.
1996-09-02 02:49:40 +00:00
ache
c1757b861b Move daemon from group 31 to group 1
One of the reasons: rwhod not work, because it got
1,31 instead of 1,1 on setuid(1) and require group 1 for directory access
1996-09-01 23:13:16 +00:00
ache
987ecffcd0 Describe current behaviour (_POSIX_SAVED_IDS are ON),
traditional BSD4.4 behavior (_POSIX_SAVED_IDS are OFF) was described
before.
Add some hooks to easily change this text when
POSIX_SAVED_IDS model will be changed.
1996-09-01 22:42:13 +00:00
ache
25bbbe6b23 Conditionalize POSIX saved ids code on _POSIX_SAVED_IDS define 1996-09-01 22:15:54 +00:00
sos
2baa7a7ec3 Fixed a couple of bugs in the mousepointer code.
Changed update strategy slightly.
Make set_mode & copy_font externally visible.
1996-09-01 18:16:06 +00:00
adam
c5872b9e4b install rpc header files 1996-09-01 17:54:25 +00:00
wosch
4f92cd3d5d Fix to work with obj directories: -I. -> -I${.CURDIR}
Submitted by: Bruce
1996-09-01 16:03:28 +00:00
alex
4467ad1508 Add Steve Price for his merge of 4.4-Lite2 sh source. 1996-09-01 14:35:41 +00:00
dg
472c459f48 Change an splstatclock that should be an splhigh into an splhigh.
Reviewed by:	bde
1996-09-01 10:30:33 +00:00
peter
a0316ac070 oops, I didn't mean for the unconditional DEBUG code to go in, it's been
off in FreeBSD for some time.  I realised this a few seconds after the
commit started..
1996-09-01 10:27:49 +00:00
peter
5195be912e Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is a
merge of parallel duplicate work by Steve Price and myself. :-]

There are some changes to the build that are my fault...  mkinit.c was
trying (poorly) to duplicate some of the work that make(1) is designed to
do.  The Makefile hackery is my fault too, the depend list was incomplete
because of some explicit OBJS+= entries, so mkdep wasn't picking up their
source file #includes.

This closes a pile of /bin/sh PR's, but not all of them..

Submitted by: Steve Price <steve@bonsai.hiwaay.net>, peter
1996-09-01 10:22:36 +00:00
dg
2fc7d7d1fa Change an splclock that needs to be an splhigh into an splhigh.
Reviewed by:	bde
1996-09-01 10:10:12 +00:00
jkh
4470be7e2a Simplify some dialogs on the basis of my changes to ui_objects.c in libdialog.
Also update copyright notices.
1996-09-01 08:17:14 +00:00
jkh
caca6152f0 Collapse some common arrow key handling semantics from sysinstall into
PollObj(), simplifying code which uses it.
1996-09-01 08:16:00 +00:00
nate
a121020789 If the basemem value supplied by the bootblocks, differs from the value
returned by the RTC, use the bootblock supplied value.  Also, map the
'stolen by BIOS' memory in the same manner as the ISA-hole memory, since
it is really an extenstion of the BIOS.  This is necessary for 32-bit
BIOS functions such as APM support on laptops, and the loss of memory
for non-necessary functions seems to be at most 4k.

Reviewed by:	phk
Obtained from:  email conversation with jtk@atria.com
1996-09-01 02:16:07 +00:00
ache
3bbd8d12de Unlocalize date 1996-09-01 00:53:45 +00:00
ache
d0ce4be42f Unlocalize date 1996-09-01 00:48:29 +00:00
wosch
5ec9b01393 optimized search algorithm
faster IO due mmap(2) [-m | -s]
better error check for damaged databases
support for databases in network byte order (SunOS/sparc)
optional case insensitve search [-i]
optional multiple databases
optional multiple pattern
new enviroment variable LOCATE_PATH for database(s)
[-S] print some statistic about the database
[-l number] limit output to number file names
[-c] suppress normal output; instead print a count of matching file names
1996-08-31 23:14:54 +00:00
jkh
2ae01aec12 Allow proper ftp verbosity with a new -v flag. 1996-08-31 22:03:05 +00:00
jkh
c2808567e4 Intelligently cache previous connection to host if we can still
use it.

Correct a typo bogon that had REST mistyped as RETR.  No wonder fetch's
restart command didn't work! :-(
1996-08-31 22:02:18 +00:00
alex
b9fbd877d1 Fix the visibility of the sysctl variables.
Submitted by:	phk
1996-08-31 21:05:20 +00:00
nate
927b7037cd Because 'ipfw flush' is such a dangerous command (given that most
firewalls are remote, and this command will kill the network connection
to them), prompt the user for confirmation of this command.

Also, add the '-f' flag which ignores the need for confirmation the
command, and if there is no controlling tty (isatty(STDIN_FILENO) !=0)
assume '-f'.

If anyone is using ipfw flush in scripts it shouldn't affect them, but you
may want to change the script to use a 'ipfw -f flush'.

Reviewed by:	alex
1996-08-31 17:58:23 +00:00
bde
96a3880de2 cpu_boot() always returns, so don't declare it as __dead*. 1996-08-31 16:57:54 +00:00
bde
070eb30ca6 Fixed the easy cases of const poisoning in the kernel. Cosmetic. 1996-08-31 16:52:44 +00:00
asami
db0af2c4dc s/pc98/isa/g in struct *_device and *_driver. Resync along the way.
Submitted by:	The FreeBSD(98) Development Team
1996-08-31 15:07:42 +00:00
wosch
daaa458ad4 NULL -> '\0'
Submitted by: Bruce, see also c-faq 5.6 and 5.9
1996-08-31 14:51:18 +00:00
bde
7d4c1814f6 Don't depend in the kernel on the gcc feature of doing arithmetic on
pointers of type `void *'.  Warn about this in future.
1996-08-31 14:48:13 +00:00
bde
f8b5cfc537 Fixed a missing colon in `notyet' code. 1996-08-31 14:22:33 +00:00
bde
24874ef732 Listed all the environment variables (MACHINE and PWD were missing).
Documented PWD.  MACHINE and MAKEOBJDIR are are still undocumented
except in main.c.  I will be changing MAKEOBJDIR back to its old
behaviour so that the comment in main.c actually applies.

Removed irrelevant misformatted text about make's name being argv[0].
1996-08-31 14:21:15 +00:00
wosch
acff8966e1 add forgotten share/doc/smm/10.named 1996-08-31 13:04:03 +00:00
julian
fffa354725 wow we can even make net ranges go away now (how sophisticated!) 1996-08-31 08:56:36 +00:00