Commit Graph

2325 Commits

Author SHA1 Message Date
bde
317c29f913 Fixed double slashes in pathnames. 1998-05-31 11:32:38 +00:00
jb
ca4b05419a objformat is part of the i386 mid life identity crisis. On alpha, things
are in their normal places, so objformat isn't required.
1998-05-31 10:48:06 +00:00
phk
d3d65c6b2e Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.
Clean up (or if antipodic: down) some of the msgbuf stuff.

Use an inline function rather than a macro for timecounter delta.

Maintain process "on-cpu" time as 64 bits of microseconds to avoid
needless second rollover overhead.

Avoid calling microuptime the second time in mi_switch() if we do
not pass through _idle in cpu_switch()

This should reduce our context-switch overhead a bit, in particular
on pre-P5 and SMP systems.

WARNING:  Programs which muck about with struct proc in userland
will have to be fixed.

Reviewed, but found imperfect by:       bde
1998-05-28 09:30:28 +00:00
danny
f5105e25f5 Reviewed by: Peter Hawkins <thepish@FreeBSD.org>
Add s and w flags to show duration in or with seconds.
1998-05-28 00:58:29 +00:00
jhay
02b6208b98 Correctly display the interrupt counts.
Reviewed with optimizations by:	Tor Egge <tegge>
1998-05-27 21:01:37 +00:00
peter
4e47d8ced5 Convert to more canonical format.. It seems that both Soren and I were
working on this in parallel.. :-(
1998-05-27 15:43:24 +00:00
sos
327c9c51a0 Compile & use objformat as it was intended to, I have no idea why
that failed for me before :(
1998-05-27 07:59:37 +00:00
sos
bc60c8025e ELF preparation step 2:
Move a.out libraries to /usr/lib/aout to make space for ELF libs.
Make rtld usr /usr/lib/aout as default library path.
Make ldconfig reject /usr/lib as an a.out library path.
Fix various Makefiles for LIBDIR!=/usr/lib breakage.

This will after a make world & reboot give a system that no
longer uses /usr/lib/*, infact one could remove all the old
libraries there, they are not used anymore.

We are getting close to an ELF make world, but I'll let this
all settle for a week or two...
1998-05-26 20:12:56 +00:00
sos
37218a2785 Get owner/group/modes right 1998-05-26 12:27:37 +00:00
sos
31e5866c45 Oops, remember CFLAGS...
Also compile directly to the target on install.
1998-05-26 06:51:28 +00:00
danny
360b2c0bec PR: 1904
Abort if given uname is > MAXLOGNAME-1
1998-05-26 06:39:08 +00:00
steve
57e422edf2 "EOF of file..." is written to stderr and not stdout.
PR:		6756
1998-05-26 00:39:12 +00:00
sos
ea8b97a093 ELF preparation step 1:
Move our old a.out utils to /usr/libexec/aout.
Enable binutils and put the utils in /usr/libexec/elf
Enable objformat, a little helper program that calls the right
utils based on /etc/objformat and $OBJFORMAT.

This will enable the ELF generating tools.
Remember that this is only step one, the system is still compiled
and run in a.out format ONLY.

Problem left to solve: The BSD manpages wins over the GNU equivalents
as the are installed last. We need to distinguish between the manpages
somehow...
1998-05-25 17:34:42 +00:00
sos
872aa46baf Only compile on install. 1998-05-25 15:00:49 +00:00
sos
e93c797887 Make objformat DTRT when in the make world environment. 1998-05-25 14:42:22 +00:00
des
60d78a8916 Back out Steve's fix, as this was already fixed by me in revision 1.6 1998-05-25 12:04:47 +00:00
steve
538a485014 Only allow 'who' and 'who am i' as valid usages.
PR:		6294
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-05-25 07:19:07 +00:00
steve
75cfd8e8c2 Allow spaces in the filename to be decoded to.
PR:		4882
Submitted by:	Slaven Rezic <eserte@cs.tu-berlin.de>
1998-05-25 06:27:09 +00:00
steve
3b0c6ff2d7 Allow a user in group 0 to su(1) to root if their primary
group is 0 in /etc/passwd even if they aren't listed
as a member in /etc/group.  This is more inline with
what the group manpage says.

PR:		6696
Submitted by:	Max Euston <meuston@jmrodgers.com>
1998-05-25 03:34:52 +00:00
steve
d0fc5c4c1b Add a graceful jumping off point with a new .error directive.
PR:		6720
Submitted by:	Niall Smart <njs3@doc.ic.ac.uk>
1998-05-25 03:28:37 +00:00
jkoshy
ff464ca1d1 Sort SEE ALSO section alphabetically. 1998-05-22 11:09:01 +00:00
jkoshy
25789e916f Cosmetic fix. Compute header field widths from UT_{HOST,LINE,NAME}SIZE
instead of hardcoding header line.

PR: 6325
1998-05-21 08:46:48 +00:00
rnordier
bee67649e2 Support integer constant unsigned-suffix and long-long-suffix. 1998-05-19 20:41:20 +00:00
pb
03f5c91484 Make "netstat -s" display stats on fast-forwarded packets.
Obtained from: NetBSD code
1998-05-19 16:00:55 +00:00
jkoshy
5a379d943a Use the correct name of the login.conf(5) capability (`passwordperiod' ->
`passwordtime').
1998-05-19 03:48:07 +00:00
markm
4226789a18 Include correct header to get definition of struct sockaddr_un. 1998-05-16 21:35:37 +00:00
wollman
949dcf30df Fix rev. 1.7: get offsetof from the correct header file. 1998-05-16 18:04:00 +00:00
ache
1ec8848ea4 Fix broken sun_len usage: it is not sun_path length but bigger 1998-05-16 08:31:49 +00:00
wollman
e37570d812 mbuf, inet, and unix modules no longer read kvm. 1998-05-15 20:19:21 +00:00
jb
232e685ed6 More programs are now broken on alpha due to the libbind changes
that prevent the programs from being linked static (duplicated
symbols).

Other programs depend on kernel internals. These will have to wait
for a custom alpha kernel. For now, let's just make the build safe.
1998-05-15 12:33:56 +00:00
jb
41abcb86d3 Change variable from long to time_t where they are passed by reference
to time().
1998-05-15 12:28:43 +00:00
jkoshy
715f414038 Add cross references for find(1), locate(1), whereis(1) and which(1).
Submitted by: Josh Gillam <josh@quick.net>
PR: docs/6642
1998-05-15 11:22:42 +00:00
jb
d464adb4c0 Change the name of a variable from _start to s_start. On alpha there
must be a library function called _start.
1998-05-15 09:26:28 +00:00
jkoshy
b964b328b6 Allow `w' to treat a corrupted "utmp" as a non fatal error.
PR: bin/2832
1998-05-14 10:13:24 +00:00
phk
4c734c0e4d .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT
PR:		6599
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-05-13 07:57:49 +00:00
jb
25a20d1f0e Fix broken (at least on alpha, but probably on i386 too) code which
is supposed to walk an arry of character pointers, not an array of
characters.
1998-05-13 05:50:42 +00:00
wosch
e06e501ff8 Some commands are shell builtins. Execute the builtins by the shell
and not directly by make(1).

PR: bin/6550
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org & wosch
1998-05-12 11:54:12 +00:00
bde
3325f91b7d Fixed missing dependencies on headers generated by rpcgen, as usual.
Removed bogus dependencies of generated .c files on generated headers.
Sorted sources lists.
1998-05-10 16:01:36 +00:00
wollman
a654d73c6b Fix my last change: the .Fx macro doesn't do anything useful without an
argument, so use `.Tn FreeBSD' instead.
1998-05-09 21:39:49 +00:00
wollman
845ecc3d6b Documentation fix: delete references to T/TCP as they are not relevant
to the case in question.  (Said case being quite clearly defined by
the basic TCP specification, RFC 792.)
1998-05-09 20:50:37 +00:00
des
e80744306c Arrggghhhh... forgot to strip the / after outputting %2f 1998-05-09 08:56:07 +00:00
des
bc55335b0d Map a leading / in -c argument to %2f instead of dropping it silently.
PR:		bin/6558
1998-05-09 08:41:23 +00:00
fenner
014829c6bf Describe absolute paths in FTP URL's. This patch has been sitting
around uncommitted for 2 months =(
1998-05-09 07:33:09 +00:00
max
3d49c4c947 In the SEE ALSO section, {get,set}rlimit are said to be in the section
3 which are actually in the section 2.
Pointed out by:	Brian Reichert <reichert@numachi.com>
PR:		6480
1998-05-08 14:46:23 +00:00
bde
9667ed0a16 Added y.tab.h to SRCS. This should have been used to get dependencies
on y.tab.h generated.  It will soon be used to tell bsd.dep.mk that
y.tab.h itself needs to be generated.
1998-05-05 13:16:35 +00:00
bde
06d8ed4b9f Put y.tab.h back in SRCS. This used to be the best way to get
dependencies on y.tab.h generated.  It will soon be used to tell
bsd.dep.mk that y.tab.h itself needs to be generated.
1998-05-05 13:00:26 +00:00
charnier
810a5d762e Add usage() and rcsid. Remove unused #include. -Wall. 1998-05-05 06:13:47 +00:00
alex
25b5448723 Permit double digit year values to be used in the next millenium. 1998-05-05 01:53:15 +00:00
rnordier
bb6e1ba0c0 Make compatible with standard what command:
Implement -s option
    Keep going if a file is not found
    Append ':' to printed filenames
    Include backslash in terminal characters
    Make exit status dependent on a match having been found
    Revise manpage accordingly
1998-05-04 22:26:56 +00:00
bde
f701fbc7d5 Fixed races in `make -jN' using new yacc rules. 1998-05-04 20:09:06 +00:00