Commit Graph

5209 Commits

Author SHA1 Message Date
gclarkii
eff40bbc02 Changed my copyright back. Too many problems with new one. 1994-12-28 17:27:21 +00:00
ache
955bc0aaab Fix compiler warnings about tputs argument 1994-12-28 14:30:19 +00:00
ache
da190124ea Fix bug with printing out short archive entries,
incorrect padding
1994-12-28 14:11:21 +00:00
ache
a14d861acd adduser added 1994-12-28 14:00:11 +00:00
ache
8671e32278 Add adduser.conf & userids 1994-12-28 13:54:06 +00:00
ache
9ee927b7b5 Fix configfile path 1994-12-28 13:49:55 +00:00
ache
820d5705d0 Move conf files to src/etc 1994-12-28 13:47:31 +00:00
ache
ec3b3cf774 Move adduser configuration files here 1994-12-28 13:45:47 +00:00
ache
9185040489 Additional longname fix
Submitted by: dufault@hda.com
1994-12-28 13:19:39 +00:00
gclarkii
840e179f52 Add makefile for adduser.
Would a makefile guru please look this over to make sure I did this right?
1994-12-28 07:35:09 +00:00
gclarkii
90e40a4fbb Add Id strings 1994-12-28 07:11:29 +00:00
gclarkii
0f53630f88 This commit was generated by cvs2svn to compensate for changes in r5262,
which included commits to RCS files with non-trunk default branches.
1994-12-28 06:55:42 +00:00
gclarkii
a839cfdbd5 Adding my adduser command. I only have to add a makefile for it to
be compleate.
1994-12-28 06:55:42 +00:00
dg
f9f32695c8 Make printf() a bit more robust and allow NULL strings (print them as
"<null>"). It bad to have diagnostic printfs cause panics when they are
trying to tell you about another problem.
1994-12-28 06:28:34 +00:00
dg
bfa74064bf Fixed multiple bugs that cause null pointers to be followed or FREEed data
to be accessed if a process blocks when it is being run down.
1994-12-28 06:15:08 +00:00
ache
839b5c0f12 Oops, forget "" for ${CC} and ${CFLAGS}... 1994-12-28 04:17:54 +00:00
ache
bdf37312f0 Set proper INSTALL* variables before running ./configure 1994-12-28 04:14:19 +00:00
ache
a8f4eebe0b Move INSTALL?=install line duplicated into each .mk to sys.mk
instead
1994-12-28 03:51:03 +00:00
ache
508821c6ca Use CFLAGS=${CFLAGS} ./configure to avoid picking dumb GNU -g default 1994-12-28 03:30:21 +00:00
ache
299e24aa99 Use "CC=${CC} ./configure" to avoid usage of debugging 'gcc' 1994-12-28 03:21:16 +00:00
jkh
e2f4e6ebca Sigh.. Finally add a 6.0 section on what you need to do to actually
configure a new kernel.
1994-12-28 02:39:29 +00:00
ache
864eaa1e18 Remove -T from ar, nm fixed now 1994-12-28 00:49:58 +00:00
ache
4bd676919b Fix for handling long archive names
Submitted by: dufault@hda.com
1994-12-28 00:47:24 +00:00
ats
11875150fb Submitted by: John Capo
Bogus pstat usage message from pstat:
usage: pstat -Tfnstv [system] [-M core] [-N system]

[system] is not mentioned in the man page and I don't
see where it is used in the code either.
Added also a [] around the first options to show them as optional, ATS.
1994-12-28 00:47:03 +00:00
jkh
be5a55b5bd Bring the 2.0 RELEASE version back into -current. Now I just need
to resurrect my changes for the last snapshot, which were unfortunately
lost in a forest fire on time.
1994-12-27 23:26:59 +00:00
bde
1a4b09b93b Document the arch flag. It has always worked in 2.0.
Document aliases for the flags.

The formatting of the section describing the flags is poor.
1994-12-27 16:49:08 +00:00
bde
d22f354bea Use the same current time throughout ffs_update().
Update some macro names in comments.

Don't use MNT_WAIT for something not related to mounting.
1994-12-27 14:44:42 +00:00
bde
5987e0e381 Use the same current time throughout ITIMES(). I want all current
timestamps for an atomic operation such as rename() on a local file
system to be identical.

Uniformize yet another idempotency ifdef.  The comment nesting was
bogus.
1994-12-27 13:59:14 +00:00
bde
6b4e986e75 fixunsdfsi.S:
Embalm.  Rewrite to do things much the same as gcc-2: use fistpq for speed
and elegance, and mishandle overflow consistently.  __fixunsdfsi() is no
longer called by gcc.
1994-12-27 13:37:38 +00:00
bde
ae18e55c2b sigsetjmp.S:
Remove unnecessary .text statement.
1994-12-27 13:34:04 +00:00
bde
8f0f6bfcbc Remove unnecessary .align statement. 1994-12-27 13:33:03 +00:00
bde
5880029ee9 Fix a spelling error and add a comment about possible improvements. 1994-12-27 13:12:34 +00:00
bde
70e1091479 Keep track of the devconf state. 1994-12-27 13:07:07 +00:00
bde
bc9ea38587 Fix panic for `cp -p' by root to an msdos file system. Improve handling
of attributes so that `cp -p' to an msdos file system can succeed under
favourable circumstances (no uid or gid changes and no nonzero flags
except SF_ARCHIVED).

msdosfs_vnops.c:
The in-core inode flags were confused with the on-disk inode flags, so
chflags() clobbered the lock flag and caused a panic.

denode.h, msdosfs_denode.c, msdosfs_vnops.c:
Support the msdosfs archive attibute (ATTR_ARCHIVE) by mapping it to
the complement of the SF_ARCHIVED flag and setting the ATTR_ARCHIVE
bit when a file's modification time is set (but not when a file's
permissions are set; this is the standard wrong DOS behaviour).

denode.h, msdosfs_denode.c:
Remove the DE_UPDAT() macro.  It was only used once, and the corresponding
macro in ufs has already been removed.

denode.h:
Don't change the timestamp for directories in DE_TIMES() (be consistent
with deupdat()).

msdosfs_vnops.c:
Handle chown() better: return EPERM instead of EINVAL if there are
insufficient permissions; otherwise, allow null changes.
1994-12-27 12:37:36 +00:00
dg
90a77cc256 Fixed two security holes in the pcmmap() function.
Submitted by:	Bruce Evans
1994-12-27 08:43:06 +00:00
ats
9f9964ce84 My prevoius commit missed some things. The out_line didn't need
to be padded to 8 chars. Simply make sure that never more than 8 chars
are printed ( %-.8s ). The former commit otherwise hosed the width
calculation and landed on different positions for the time output.
Also the strlen(xx_out_line) hoses the wide
calculation, so that it sometimes make it much larger than necessary.
Simply use always 8 chars for the out_line calculation now. Looks good
this way.
1994-12-27 00:53:14 +00:00
ats
c1ca341215 Install also a gcc.1 manual page as a link from cc.1, as long as
we have the link cc to gcc.
1994-12-26 19:15:19 +00:00
ats
ca19aebff1 Add a patch that someone on the net has used to run on his IBM Thinkpad.
Sorry, lost the name and mail of the original author. The whole patch
is ifdefed, so it should not disturb someone else in the moment.
1994-12-26 17:50:18 +00:00
ats
99e8dc58dd Add examples for the sony and the panasonic drivers. 1994-12-26 17:33:52 +00:00
ats
ad4b7014ed The out_line doesn't need to be zero terminated, so print it not with %s
but with a %-8.8s instead. this prevents funny output, if the out_line
contains a long hostname that is larger than 8 chars.
1994-12-26 17:29:03 +00:00
bde
b65d3e0ac9 Obtained from: partly from 1.1.5
Convert "" to "." for "cd" and "cd ''".  chdir("") is required to fail
on POSIX systems.
1994-12-26 13:02:05 +00:00
bde
5871399380 Obtained from: partly from 386BSD-0.1.2.4
Fix several bugs involving the obsolescent -d and -t options:
-d 0 and -t 0 were ignored
-t -600 was a usage error
-d 'atoi is not suitable for parsing args' and -t duh were not usage errors

Change some error messages to say which call to settimeofday failed.

Restore casts of NULL in function calls.

Finish conversion to using err() instead of perror().
1994-12-26 12:59:28 +00:00
ache
6cb64c25cd Use timelocal() instead of mktime() hack 1994-12-26 10:43:48 +00:00
ache
bf8da19ce1 Declare useful functions (timelocal() and timegm()) 1994-12-26 10:19:41 +00:00
ats
b9dd1dfa03 Correct the devices.i386 for the major numbers. 8 was already used now
by the lkm driver, so put scd and pcd to the numbers they have now
in i386/conf.c.
Add the pcd.c file for the panasonic driver in files.i386.
1994-12-26 01:06:41 +00:00
ats
c732e7606b Add entries for the sony and panasonic drives and drivers. 1994-12-25 23:25:54 +00:00
bde
dddacb9ae5 Fix the bug reported by Torbjorn Granlund <tege@cygnus.com>:
The documentation for mrand48 and lrand48 is mixed up.
mrand48 returns a full 32 bit number, while lrand48 only returns
31 bits.
1994-12-25 15:33:39 +00:00
ats
7d52d1a428 Add entries for the sony and panasonic drives. The not SCSI and not EIDE
drives :-).
1994-12-25 15:08:29 +00:00
ache
281863776f Merge several probe diagnostics into one.
Adjust for newer model for all non-LUxxx too.
FLAGS status register names cleanup
1994-12-24 13:24:02 +00:00
bde
cafc533e6f Fix comments on dk_wds and dk_wpms to match code. Improve comment on
dk_time.
1994-12-24 10:11:18 +00:00