summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Add some environment variables that need to be present when using packagessteve2001-04-251-8/+13
| | | | | | | | | | | | from the build cluster. These are required to get the dependencies the same as the parallel builds. - Add an optional second argument that allows you to specific an alternate ports directory. - Remove the temporary file after we are done with it. - Remove ksh93 because it won't make it on the discs until the license issues are resolved. Approved by: jkh
* Reduce the number of $FreeBSD$'s from 3 to 2. I believe both remainingobrien2001-04-251-1/+0
| | | | are needed for proper examples.
* Don't install KO's with the "schg" flag.obrien2001-04-256-46/+11
| | | | | | | We are way too inconsistent with our setting of the "schg" flag, and in our default install, it doesn't really offer any additional security. Reviewed by: arch@
* Fix SCM ID's and remove tailing blanks.obrien2001-04-258-27/+24
|
* Document XFREE86_VERSION.jim2001-04-252-0/+10
|
* Add /usr/X11R6/bin to the exported PATH. If /usr/local/bin is there,obrien2001-04-251-4/+10
| | | | | | | | /usr/X11R6/bin should be there. This helps all the ports that need to run `mkfontdir' and error out as many port maintainers do not realize `mkfontdir' isn't in the path. Prompted by: pkg_add pcemu
* Add support for -F flag (trivial as background check is never possible).mckusick2001-04-251-1/+6
|
* Fix compiling without -O, some dead code was using non-existant functions,alfred2001-04-252-6/+10
| | | | | | | | | | | make the code not automatically dead but actually use the debug level in order to determine if output is needed. Fix non-existant from_addr() by #define'ing it to inet_ntoa(). Remove hardcoded -g from Makefile. Reported by: "John W. De Boskey" <jwd@bsdwins.com> Tested by: "John W. De Boskey" <jwd@bsdwins.com>
* - Make the dumping of console messages from the secondary CPU's to thejhb2001-04-251-3/+5
| | | | | kernel console be #ifdef DIAGNOSTIC. - Don't set ktr_mask in release_aps().
* Backout rev.1.30, as the root of this problem was already fixedru2001-04-251-4/+0
| | | | | | | | | | in bsd.obj.mk rev.1.35, and On Tue, Apr 24, 2001 at 06:29:27AM +1000, Bruce Evans wrote: > > This is bogus. It is normal for sloppy cleaning to cause problems. > `make depend' after `make depend' should not do anything. I'm still > waiting for a similar problem in kdump to be fixed properly :-).
* Add -Wall.ru2001-04-251-1/+1
|
* -Wall cleanup.ru2001-04-251-1/+2
|
* unifdef -UWANT_ENV_PWD.ru2001-04-252-42/+13
| | | | No one ever going to use this bugfeature.
* Make ${.OBJDIR} canonical.ru2001-04-251-10/+2
| | | | Reviewed by: bde
* alpha_fpstate_save is fairly expensive (critical enter/exit, possiblygallatin2001-04-251-0/+2
| | | | | | | saves 32 registers) to do on every context switch. This is only required for SMP, so only do it there. We should also look at moving the critical enter/exit out to the callers
* Fixed typo.ru2001-04-251-1/+1
| | | | | PR: bin/26836 Submitted by: Matthew Seaman <matthew.seaman@tornadogroup.com>
* MFffs ffs_balloc.c 1.5.bde2001-04-252-0/+4
| | | | | | | | | | | | | | | | | Long ago, bread() set b_blkno to the disk block number as a side effect of doing physical i/o (or it just retained the setting from when the i/o was done). The setting is lost when buffers go away and then are reconsituted from VM. bread() originally compensated by doing a VOP_BMAP() to recover b_blkno, but this was no good since it sometimes caused extra i/o or even deadlock for bread()ing metadata to do the bmap. This was fixed in vfs_bio.c 1.33 (1995/03/03) and ffs_balloc.c 1.5, etc., by removing the VOP_BMAP() from bread() and breadn(), and changing all (?) places that used b_blkno to set it if necessary. ext2fs was not imported until later in 1995 and was still depending on the old behaviour of bread() in at least ext2_balloc(). This caused filesystem and file corruption by clobbering direct block numbers in inodes.
* Do not leave a process with no credential in zombproc.tanimura2001-04-251-17/+14
| | | | Reviewed by: jhb
* When closing the last reference to an unlinked file, it is freedmckusick2001-04-254-26/+113
| | | | | | | | | | | | | | | by the inactive routine. Because the freeing causes the filesystem to be modified, the close must be held up during periods when the filesystem is suspended. For snapshots to be consistent across crashes, they must write blocks that they copy and claim those written blocks in their on-disk block pointers before the old blocks that they referenced can be allowed to be written. Close a loophole that allowed unwritten blocks to be skipped when doing ffs_sync with a request to wait for all I/O activity to be completed.
* Reverse order of from and to in order to match reality.dougb2001-04-251-1/+1
| | | | | PR: 26631 Submitted by: Glenn Johnson, glennpj@charter.net
* Update for file 3.35.obrien2001-04-251-3/+3
|
* This commit was generated by cvs2svn to compensate for changes in r75937,obrien2001-04-2517-139/+426
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of Christos Zoulas's FILE 3.35.obrien2001-04-2517-139/+426
| |
* | Add support for running foreground (-F) and background (-B) checks.mckusick2001-04-255-49/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Traditionally, fsck is invoked before the filesystems are mounted and all checks are done to completion at that time. If background checking is available, fsck is invoked twice. It is first invoked at the traditional time, before the filesystems are mounted, with the -F flag to do checking on all the filesystems that cannot do background checking. It is then invoked a second time, after the system has completed going multiuser, with the -B flag to do checking on all the filesystems that can do background checking. Unlike the foreground checking, the background checking is started asynchonously so that other system activity can proceed even on the filesystems that are being checked. At the moment, only the fast filesystem supports background checking. To be able to do background checking, a filesystem must have been running with soft updates, not have been marked as needing a foreground check, and be mounted and writable when the background check is to be done (i.e., not listed as `noauto' in /etc/fstab). These changes are the final piece needed to support background filesystem checking. They will not have any effect until you update your /etc/rc to invoke fsck in its new mode of operation. I am still playing around with exactly what those changes should be and should be committing them later this week.
* | Move the netexport structure from the fs-specific mountstructurephk2001-04-2528-226/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | to struct mount. This makes the "struct netexport *" paramter to the vfs_export and vfs_checkexport interface unneeded. Consequently that all non-stacking filesystems can use vfs_stdcheckexp(). At the same time, make it a pointer to a struct netexport in struct mount, so that we can remove the bogus AF_MAX and #include <net/radix.h> from <sys/mount.h>
* | Ignore chflags errors. This makes installing to nfs mounted targetimp2001-04-255-10/+10
| | | | | | | | directories work.
* | "break", "chdir", "continue", "else", and "while" are sh(1) builtins;dd2001-04-251-5/+5
| | | | | | | | | | | | mark them as such. PR: 26702
* | Move to using md.imp2001-04-258-19/+78
| | | | | | | | | | | | | | | | | | o create a simple wrapper function mount_md that makes it easy to move from mount_mfs. # NOTE: you will need to MAKEDEV md[0123] in order for this to work. Reviewed by: bsd, keichii
* | Teach cut(1) how to handle long lines: convert from fgets(3) to fgetln(3).dd2001-04-251-5/+17
| | | | | | | | | | PR: 26810 Reviewed by: dwmalone
* | New release notes: TCP_COMPAT_42 option gone, labpc(4) gone, client-sidebmah2001-04-242-0/+26
| | | | | | | | NFS locks, devinfo(8), options REGRESSION.
* | o Separate acl_t into internal and external representations asjedgar2001-04-2422-233/+551
| | | | | | | | | | | | | | | | | | | | | | required by POSIX.1e. This maintains the current 'struct acl' in the kernel while providing the generic external acl_t interface required to complete the ACL editing library. o Add the acl_get_entry() function. o Convert the existing ACL utilities, getfacl and setfacl, to fully make use of the ACL editing library. Obtained from: TrustedBSD Project
* | Add support for the -F flag which determines whether a specifiedmckusick2001-04-245-83/+117
| | | | | | | | | | | | | | | | | | | | | | | | filesystem needs foreground checking (usually at boot time) or can defer to background checking (after the system is up and running). See the manual page, fsck_ffs(8), for details on the -F and -B options. These options are primarily intended for use by the fsck front end. All output is directed to stdout so that the output is coherent when redirected to a file or a pipe. Unify the code with the fsck front end that allows either a device or a mount point to be specified as the argument to be checked.
* | get the parameters to pci_write_config the right way round. this may fixcg2001-04-241-2/+2
| | | | | | | | some non-functional cards/machines
* | Add a new field 'md_kernnest' to the alpha machine dependent processjhb2001-04-247-15/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | structure. This field keeps track of how many levels deep we are nested into the kernel. The nesting level is bumped at the start of a trap, interrupt, syscall, or exception and is decremented on return. This is used to detect the case when the kernel is returning back to a kernel context in exception_return(). If we are returning to the kernel we need to update the globaldata pointer register saved in the stack frame in case we have switched CPU's between taking the initial interrupt that saved the frame and returning. If we don't do this fixup it is possible for a CPU to use the wrong per-cpu data. On UP systems this is not a problem, so the code is conditional on SMP. A count was used instead of simply checking the process status register in the frame during exception_return() since there are critical sections at the very start and end of a trap, exception, or interrupt from userland in which we could trash the t7 register being used in userland. The counter is incremented after adn before these critical sections respectively so that we will not overwrite the saved t7 register if we are interrupted during one of these critical sections.
* | Remove bogus assignments of libc syscall stub return values to errno;tmm2001-04-243-3/+0
| | | | | | | | | | | | | | the stubs do errno assignments and return -1 in this case, so that errno would end up with this value. Approved by: rwatson
* | Wrap lint calling in a variable.asmodai2001-04-241-2/+3
| | | | | | | | | | | | | | | | | | Set LINT to the obj path, since we need to use the new lint's features to create .ln files. We do not want to use the installed version for that, since that might create files according to the old lint. This is still a work in progress to clean this all up, but it gets through buildworld, which was the problem at hand.
* | Add build-tools target to the description file, requisite of makingasmodai2001-04-241-1/+3
| | | | | | | | | | | | lint a build-tool. Also re-enable llib.
* | Add usr.bin/xlint to build-tools.asmodai2001-04-241-1/+2
| |
* | Add isdn_ttype (moved to rc.conf from rc.isdn)schweikh2001-04-241-0/+1
| | | | | | | | | | | | PR: conf/24865 Submitted by: schweikh Reviewed by: hm
* | Don't hardcode isdn_ttype overwriting rc.conf settings.schweikh2001-04-242-30/+2
| | | | | | | | | | | | PR: conf/24865 Submitted by: schweikh Reviewed by: hm
* | Document all isdn_* variables in rc.conf(5) - 6 more knobs to frob!schweikh2001-04-241-80/+129
| | | | | | | | | | | | PR: conf/24865 Submitted by: schweikh Reviewed by: hm
* | Change uipc_sockaddr so that a sockaddr_un without a path is returnedtmm2001-04-241-0/+2
| | | | | | | | | | | | | | | | | | nam for an unbound socket instead of leaving nam untouched in that case. This way, the getsockname() output can be used to determine the address family of such sockets (AF_LOCAL). Reviewed by: iedowse Approved by: rwatson
* | o Change a suser() call to a suser_xxx(..., PRISON_ROOT) call in therwatson2001-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | linuxulator so as to allow privileged processes within a jail() to invoke the Linux initgroups() system call. This allows the Linux "su" to work properly (better) when running a complete Linux environment under jail(). This problem was reported by Attila Nagy <bra@fsn.hu>. Reviewed by: marcel
* | Say "add -r" rather than 'use -r' since the former is more correct.imp2001-04-242-4/+2
| | | | | | | | | | The latter implies to many people that they use only -r, which is incorrect.
* | When switching backing store during signal delivery, do the switch beforedfr2001-04-242-14/+16
| | | | | | | | | | | | creating the register frame for calling the handler. Also discard that frame before switching back to the old backing store after the handler returns.
* | Align stack pointer and backing store pointer to 16 byte boundary whendfr2001-04-241-0/+5
| | | | | | | | delivering signals.
* | Don't trash the user's pr on syscalls.dfr2001-04-242-2/+4
| |
* | Revert previous delta, which was completely bogus.sheldonh2001-04-241-1/+1
| | | | | | | | The perceived problem was the symptom of a local error.
* | Call usage() if given more than 1 argument.kris2001-04-241-2/+4
| | | | | | | | | | Submitted by: "Andrew R. Reiter" <arr@watson.org> Obtained from: OpenBSD
* | Replace a strcat() with a strlcat(). Partial sync with OpenBSD; morekris2001-04-241-1/+1
| | | | | | | | | | | | | | work is needed. Submitted by: "Andrew R. Reiter" <arr@watson.org> Obtained from: OpenBSD
OpenPOWER on IntegriCloud