Commit Graph

50519 Commits

Author SHA1 Message Date
marcel
2f1d9ab5d2 Revert implementation of setfsuid and setfsgid due to security
issues.

Requested by: rwatson
Backed by: kris
2000-07-20 05:37:41 +00:00
davidn
35b42ab19e Move test for -w flag outside of the code dealing with -D (defaults).
This should cause -w's argument not to be ignored in the usermod case,
so it will affect modification of the user's password instead of using
the pw.conf (or internal default=no '*') password method.
PR:		bin/11168
2000-07-20 05:11:56 +00:00
davidn
94db016d55 Allow -g with an empty argument in the -D case. This allows -g "" to set
no default group (and thus fall back to user-based groups instead).
PR:		bin/5717
2000-07-20 04:37:00 +00:00
jhb
64eb7674fb - Don't use quotes for the MD_ROOT_SIZE option when generating the BOOTMFS
kernel config file.
- Add WORLD_FLAGS and KERNEL_FLAGS so you can build world and kernel with
  extra make options such as -jX to speed up release builds.
- When building kernels, allow their hints to tag along, and use this to
  install hints onto the boot floppy.  Since the boot floppy doesn't load
  loader.4th, we have to change device.hints to strip comments and change
  each line to an explicit set command.
2000-07-20 03:07:29 +00:00
marcel
32f585d1c5 Add awk and wc to the list of copied binaries for the installworld
target. These are needed by liloldr.

Found by: make release
2000-07-20 03:03:23 +00:00
msmith
ca477cc774 Remove some confusing verbosity - we have no idea what RAID level the
drive is at, so don't print the 'unknown' value, just say nothing.
2000-07-20 02:31:56 +00:00
des
a260febdf9 Fix the case where the file name is preceded by a lone slash. 2000-07-20 02:03:56 +00:00
jhb
23f6448485 - Clarify some of the text in sysinstall in regards to the cryto bits.
- Note that we are up to about 3600 ports now rather than about 3000 ports.

Submitted by:	kris
2000-07-20 01:52:07 +00:00
msmith
dcabcfeaa1 Add major numbers for the Adaptec FSA RAID controller. 2000-07-20 01:12:02 +00:00
kris
c2e76f6679 Temporary hack for the benefit of the X-Bone project
(http://www.isi.edu/xbone). I expect this to go away in due course.

Submitted by:	Lars Eggert <larse@ISI.EDU>
2000-07-20 00:35:37 +00:00
davidn
c4d081a807 Fix another missed case where usermod would not set the "modified" flag:
-h - to set no password. But only mark modified if the account is not
already locked (i.e. first char of crypt password field is '*').
PR:		bin/19999
2000-07-20 00:09:29 +00:00
obrien
90867c9b4d Add ftp.freebsd.org Snapshots to the list of servers. 2000-07-19 23:59:01 +00:00
des
3ce22a8bc5 Fix two bugs related to resumed transfers:
- if the dates didn't match, fetch would append the received file to the
    existing file instead of replacing it.

  - if the local file was complete and up-to-date, fetch would miscalculate
    the expected size and report a failure instead of a success, because it
    had no way of knowing that the server was actually resending the entire
    file since the requested offset was invalid.
2000-07-19 23:56:45 +00:00
des
adc026dc20 Don't try to skip to the requested offset if the server returns more data
than requested.  Instead, inform the caller of the real offset by modifying
the offset field in the original struct url, and let him decide how to handle
the situation.
2000-07-19 23:43:49 +00:00
darrenr
4aa79112f9 actually commit merged diffs to the trunk 2000-07-19 23:10:29 +00:00
n_hibma
471997687f Typo.
Submitted by:	Mike Meyer <mwm@mired.org>
2000-07-19 23:07:42 +00:00
marcel
8eabbf5453 Add cp(1) to the list of binaries we need to save. The cp(1) command
is used by the installation of ld-elf.so when an existing version
exists.
2000-07-19 22:48:52 +00:00
ben
291744d0a8 * document that 'kbdcontrol -k' needs stdin to be the console.
* add an example of how to switch the console keyboard to a USB keyboard.

PR:		18520
Submitted by:	n_hibma
Reviewed by:	sheldonh
2000-07-19 19:13:55 +00:00
ben
8dc09f7b51 Document the rc.d system.
Suggested by:	dcs
Reviewed by:	alex, dcs, sheldonh
2000-07-19 19:08:08 +00:00
imp
537f6dd949 alex@big.endian.de (Alexander Langer) noticed that I point at LINT,
which no longer exists.  Updating the entry accordingly.
2000-07-19 18:35:05 +00:00
marcel
192923ebc9 Don't save install-info. We already have that built. We'll use
the one we built anyway.
2000-07-19 18:18:21 +00:00
archie
32c8825fe1 Remove node's name reference when the interface is detached;
otherwise, the ng_ether.ko KLD will never be unloadable after
all Ethernet interfaces are detached, as it should be, because
of the lingering extra reference.

Submitted by:	"Yevmenkin, Maksim N, CSCIO" <myevmenkin@att.com>
2000-07-19 17:33:53 +00:00
archie
b16240b827 Show the actual command line usage in the man page and usage error string. 2000-07-19 17:24:53 +00:00
jasone
531e62c825 pthread_once --> pthread_once_t. 2000-07-19 16:38:07 +00:00
archie
b055a8a669 Remove extra #include that was inadvertently added in previous commit. 2000-07-19 16:32:46 +00:00
imp
313eec7c25 Default the pcic to polling. Some laptops need to have polling mode
due to a paucity of IRQs.  I have some reservations about this, so I'm
not going to MFC this just yet.  I'm doing this to see how many
problems it causes so we can do this in 4.2.  I've been seeing hangs
on my laptop from time to time, but sometimes it was not in polling
mode, other tmies it was.  Don't know if this is one problem or more
than one.

Requested by: Sean O Connell
2000-07-19 16:32:38 +00:00
archie
4b8df583be Fix breakage caused by ether_aton() prototype change.
PR:		bin/20033
2000-07-19 16:30:02 +00:00
bde
d53bace8f9 Fixed bitrot in DPADD. 2000-07-19 16:24:08 +00:00
ben
5305b812e4 Mark cdcontrol's "cdid" command as [MERGED]. 2000-07-19 16:05:37 +00:00
archie
a66f7a68d6 Fix make world breakage.
Broken by:	me
2000-07-19 16:03:34 +00:00
gallatin
b0e74737e9 Fix an alpha-only race which causes the transmit side of the chip to
lock up under moderate to heavy load.

The status & command fields share a 32-bit longword.  The programming
API of the eepro apparently requires that you update the command field
of a transmit slot that you've already given to the card.  This means
the card could be updating the status field of the same longword at
the same time. Since alphas can only operate on 32-bit chunks of
memory, both the status & command fields are loaded from memory &
operated on in registers when the following line of C is executed:

                sc->cbl_last->cb_command &= ~FXP_CB_COMMAND_S;

The race is caused by the card DMA'ing up the status at just the wrong
time -- after it has been loaded into a register & before it has been
written back.  The old value of the status is written back, clobbering
the status the card just DMA'ed up. The fact that the card has sent
this frame is missed & the transmit engine appears to hang.

Luckily, as numerous people on the freebsd-alpha list pointed out, the
load-locked/store-conditional instructions used by the atomic
functions work with respect changes in memory due to I/O devices.  We
now use them to safely update the command field.

Tested by: Bernd Walter <ticso@mail.cicely.de>
2000-07-19 14:33:52 +00:00
darrenr
9f3624548b fix conflicts 2000-07-19 14:02:09 +00:00
darrenr
464e3d57b8 fix conflicts 2000-07-19 13:56:18 +00:00
darrenr
243b2e7424 This commit was generated by cvs2svn to compensate for changes in r63516,
which included commits to RCS files with non-trunk default branches.
2000-07-19 13:52:47 +00:00
darrenr
90778a7160 Import v3.4.8 into -current 2000-07-19 13:52:47 +00:00
ume
2988979ab5 Add some examples for IPv6 addresses.
PR:		conf/18614
Submitted by:	James Housley <jim@thehousleys.net>
2000-07-19 13:05:58 +00:00
sheldonh
01a450a566 Remove mention of SYNCER_MAXDELAY and "thirty seconds", using more
general terms instead.  This follows a discussion with alfred,
in which it became clear that I had misunderstood sched_sync().
2000-07-19 11:47:16 +00:00
peter
78e2f98cea Use <bsd.kmod.mk> not a path to ../../conf/kmod.mk. 2000-07-19 10:40:39 +00:00
brian
e59bf23032 Add a default ident string and do some minor whitespace adjustments 2000-07-19 10:16:29 +00:00
brian
500d4d6905 Describe the new VERSION and COMPILATIONDATE macros and mention that the
``ident'' command will expand macros.
2000-07-19 10:14:00 +00:00
ru
06cffe2533 Add /dev/agpgart for AGP.
Reviewed by:	dfr
2000-07-19 09:21:14 +00:00
des
e8e313d17b Braino: don't use passive mode unless the user requests it.
PR:		bin/20025
Submitted by:	HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
2000-07-19 09:12:36 +00:00
ps
4ffc180c1d Oops. fsync(8) should have been fsync(1). (repo-copied by peter)
Change reference from update(4) to syncer(4).
2000-07-19 08:44:26 +00:00
ps
70a9f15ed6 Add fsync(8). This becomes useful with the advent of MAP_NOSYNC etc.
Reviewed by:	peter
2000-07-19 08:38:18 +00:00
sheldonh
37dc146239 Update stale references to update(4) with references to the new
syncer(4) manual page.
2000-07-19 07:39:08 +00:00
sheldonh
672d736d95 Replace the obsolete update(4) manual page with syncer(4). I was
not abble to solicit review from <freebsd-hackers>.
2000-07-19 07:15:32 +00:00
imp
42caeca203 Apm device is now safe to be world readable, so make it so. 2000-07-19 06:35:58 +00:00
imp
eda0d0cadc When we're just reading info from the driver, attempt to open the apm
device read only so we can suppot a readonly apm device.
2000-07-19 06:34:02 +00:00
sheldonh
985f997674 Clean up this new manual page. This delta includes content and
whitespace changes, which should not be a problem because this
is only the second revision of the file and translators are
unlikely to have gotten started yet.

Reviewed by:	abial
2000-07-19 06:33:34 +00:00
imp
141cdecc82 Except for the information gathering IOCTLs, require apm device be
opened for write.  This should make the apm device read only safe.
2000-07-19 06:32:00 +00:00