| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
others. The flag can be put in descriptive locations, e.g.:
device sb0 at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr
or
device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
But is nonetheless boolean only. You can't turn conflict checking off for
only a given type of conflict. I didn't deem it worth the trouble at this
stage, and it's far better than the ALLOW_CONFLICT_* that preceeded it.
|
|
|
|
| |
something slightly less evil - a per device conflict flag.
|
|
|
|
| |
few modifications.
|
|
|
|
|
|
|
|
| |
currently considering reducing the TCP fasttimo to 100ms to help improve
things, but this would be done as a seperate step at some point in the
future.
This was done because it was causing some sometimes serious performance
problems with T/TCP.
|
|
|
|
|
| |
filled-in result structure to the caller when a resource allocation
error is encountered in ypbindproc_domain_2.
|
| |
|
|
|
|
|
|
| |
there may even be LKMs.) Also, change the internal name of `unixdomain'
to `localdomain' since AF_LOCAL is now the preferred name of this family.
Declare netisr correctly and in the right place.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Make the child process reaper signal-driven. (Previously, we called reaper()
once a second each time we went through the select() loop. This was
convenient, but inefficient.)
- Increase main select() timeout from 1 second to 60 seconds and use
this as the ping timer instead of using timestamps in the _dom_binding
structure. This nd the reaper() change noted above makes ypbind a little
less CPU-intensive.
- Don't flag EINTR's from select() as errors since they will happen as a
result of incoming SIGCHLD's interrupting select().
- Prevent possible resource hogging. Currently we malloc() memory
each time a user process asks us to establish a binding for a domain,
but we never free it. This could lead to serious memory leakage if a
'clever' user did something like ask ypwhich to check the bindings
for domains 0.0.0.0.0.0.0.0.0.0 through 9.9.9.9.9.9.9.9.9.9 inclusive.
(This would also make a mess out of the /var/yp/binding directory.)
We now avoid this silliness by a) limiting the maximum number of
simultaneous bindings we can manage to 200, and b) free()ing _dom_binding
structures of secondary domains whose servers have stopped responding.
We unlink the /var/yp/binding/domain.vers files for the free()ed
domains too.
(This is safe to do since a client can prod us into reestablishing the
binding, at which time we'll simply allocate a new _dom_binding structure
for it.)
We keep count of the total number of domains. If asked to
allocate more than the maximum, we return an error. I have yet to hear
of anybody needing 200 simultaneous NIS bindings, so this should be
enough. (I chose the number 200 arbitrarily. It can be increased if need
be.)
- Changed "server not responding"/"server OK" messages to display server
IP addresses again since it looks spiffier.
- Use daemon() to daemonify ourselves,
- Added a SIGTERM handler that removes all binding files and unregisters
the ypbind service from the portmapper when a SIGTERM in received.
- The comment 'blow away everything in BINDINGDIR' has no associated code.
Give it some: clean out /var/yp/binding at startup (if it exists).
This completes my ypbind wishlist. Barring bug fixes, I shouldn't need to
go poking around in here anymore. (Of course, this means I can start
working on my ypserv whishlist now... :)
|
|
|
|
| |
pkg_add a little wiggy too.
|
|
|
|
|
| |
pkg_add a little wiggy too. Document the fact that pkg_info can also
take a URL.
|
|
|
|
|
| |
all possible packing lists and found that at least one of them is
pretty large!
|
| |
|
| |
|
|
|
|
| |
This should eliminate the problem with truncated packages.
|
| |
|
|
|
|
| |
hang. Fixed some formatting anomolies and removed some unneeded casts.
|
|
|
|
| |
types of pointers, and "char *" is a bad choice for the type.
|
| |
|
|
|
|
|
| |
Submitted by:
Obtained from:
|
|
|
|
| |
Adjust boot floppy to (hopefully) include libdisk in the crunch.
|
|
|
|
| |
Obtained from: Keith Bostic by way of Paul Traina
|
|
|
|
| |
Add support for kern_devconf structure.
|
|
|
|
| |
on the booting process.
|
|
|
|
|
|
| |
warning from fake-pkg.
# FORCE_PKG_REGISTER - If set, it will overwrite any existing package
# registration information in ${PKG_DBDIR}/${PKGNAME}.
|
|
|
|
| |
it passes back. Thanks, Poul!
|
| |
|
| |
|
|
|
|
|
|
|
| |
Do another clean-up pass over this, making the generic menu handler much
more powerful (now handles multiple dispatch). A few more menus fleshed
out and the beginnings of the distribution handler committed. Should
be transfering full distributions over in the next commit.
|
| |
|
|
|
|
| |
Submitted by: hideaki@strauss.ee.uec.ac.jp (Hideaki Tsuchiya)
|
| |
|
| |
|
|
|
|
| |
linuxdoc DTD.
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| |
| | |
DTD) into HTML, LaTeX or ascii. (the latter is still pretty rough)
Reviewed by: rgrimes
|
| |
| |
| |
| |
| | |
Closes PR #bin/391
Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| |
| | |
Reviewed by: rgrimes
Obtained from: Linux (with modification)
|
| |
| |
| |
| | |
Reviewed by: rgrimes
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
do `find some-nasty-expression -print0 | perl -n0e unlink' and have all
the files actuallly get deleted. (Using `xargs' and `rm' is not safe.)
|
| |
| |
| |
| |
| |
| | |
MIT v4 implementations.
Submitted by: Reece R. Pollack <reece@eco.twg.com>
|
| |
| |
| |
| | |
Submitted by: Edward Wang <edward@edcom.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
msdosfs_lookup() did no validation to see if the caller was validated
to delete/rename/create files. msdosfs_setattr() did no validation
to see if the caller was allowed to change the file permissions (turn
on/off the write bit) or update the file modification time (utimes).
The routines were fixed to validate the calls just like ufs does.
|
| |
| |
| |
| | |
Delete suspicious looking chunk of code that was partially commented out.
|
| | |
|
| | |
|
| | |
|