Mark Murray [Thu, 4 Sep 1997 06:04:33 +0000 (06:04 +0000)]
Initial import of KTH eBones. This has been cleaned up to only include
the "core" Kerberos functionality. The rest of the userland will get their
own changes later.
Brian Somers [Thu, 4 Sep 1997 00:38:22 +0000 (00:38 +0000)]
Install as group ``network''
Insist that uid == 0 for client ppp
Disallow client sockets if no password is specified
Don't exit on failure to open client socket for listening
Allow specification of null local password
Use reasonable size (smaller) ``vector''s in auth.c
Fix "passwd ..." usage message
Insist on "all" as arg to "quit" (if any)
Drop client socket connection before Cleanup() when "quit all"
1) Changed the volume to be a little louder.
2) Added a non_blocking flag to the write routine.
3) Added a 3rd buffer (actually a ring buffer would be better)
Make the aic7xxx sequencer assembler compile in the kernel's object
directory. Rename (via repository copy) some files so that the potential
for future conflicts is minimized.
Bruce Evans [Wed, 3 Sep 1997 03:25:35 +0000 (03:25 +0000)]
Fixed synopsis. The envp arg for execle() can't be given in the prototype.
Fortunately, the man page doesn't refer to "envp" so just deleting it is OK.
David Nugent [Wed, 3 Sep 1997 01:05:36 +0000 (01:05 +0000)]
Fix botch with escaped characters, go back to using cgetstr().
For escaped characters used in modem strings, use double-backslashes
in gettytab.
PR: 4370
John Polstra [Tue, 2 Sep 1997 21:54:39 +0000 (21:54 +0000)]
Touch up the code that implements "ldd -v".
Bring the style of sods.c into better conformance. Add code to
print the contents of each datum being relocated. Correct the logic
that distinguishes between programs, shared libraries, and object
files. Make the entire program "-Wall" clean.
Steve Passe [Tue, 2 Sep 1997 19:40:13 +0000 (19:40 +0000)]
Removed the "globl" nature of the vec array. This was left over from the
time when icu.s was common between UP and SMP. It is not necessary for UP
and thus can be removed from icu_ipl.s.
John Hay [Tue, 2 Sep 1997 16:44:46 +0000 (16:44 +0000)]
Struct arpcom should be in the beginning of a softc struct for arp and
ether_ioctl() to work correctly.
Tested by: Joao Carlos Mendes Luis <jonny@mailhost.coppe.ufrj.br>
Steve Passe [Mon, 1 Sep 1997 07:45:37 +0000 (07:45 +0000)]
General cleanup of the sub-system locking macros.
Eliminated the RECURSIVE_MPINTRLOCK.
clock.c and microtime use clock_lock.
sio.c and cy.c use com_lock.
Brian Somers [Mon, 1 Sep 1997 01:19:23 +0000 (01:19 +0000)]
Add "options no_tld_query" to resolv.conf.
Mention the capability in resolver(5).
Mention that RES_OPTIONS can be used in resolver(5).
Discussed with: -hackers
Bruce Evans [Mon, 1 Sep 1997 00:18:02 +0000 (00:18 +0000)]
Added #include of <sys/queue.h> to make this self-sufficient.
Includers of this file apparently didn't know that <sys/queue.h>
was a prerequisite and include a semi-random collection headers
until one happened to include it.
Bruce Evans [Sun, 31 Aug 1997 22:12:19 +0000 (22:12 +0000)]
Hide the declaration of `struct exception' from C++, since it conflicts
with the standard C++ `class exception'. This makes matherr() difficult
to use in C++. Small loss.
Peter Wemm [Sun, 31 Aug 1997 21:06:40 +0000 (21:06 +0000)]
Fix the ${BINFORMAT} definition problem during 'make {build}world'. The
wrong switches were being passed to 'make' that caused sys.mk to come from
the /usr/share/mk location but the bsd.*.mk files to come from the
source tree in src/share/mk. This was bound to break sooner or later.
Stefan Eßer [Sun, 31 Aug 1997 19:35:52 +0000 (19:35 +0000)]
Fix problem with early revision 53c825a and 53c875 chips, which
could cause a solid system lockup in the driver attach:
These chips do not abort an access to the internal SRAM, when
the driver set the software reset bit in the istat register. But
the chip will never acknowledge the requested PCI bus transfer
in the situation, causing an infinite wait and a lockout of other
bus-masters.
The problem has been reported for rev 0x11 of the 53c825a and
rev 0x01 of the 53c875.
Revisions 0x13 of the 53c825a and 0x03 of the 53c875 are known
to support SRAM accesses, even in the software reset state.
Change the 0xdeadb hack to a flag called VDOOMED.
Introduce VFREE which indicates that vnode is on freelist.
Rename vholdrele() to vdrop().
Create vfree() and vbusy() to add/delete vnode from freelist.
Add vfree()/vbusy() to keep (v_holdcnt != 0 || v_usecount != 0)
vnodes off the freelist.
Generalize vhold()/v_holdcnt to mean "do not recycle".
Fix reassignbuf()s lack of use of vhold().
Use vhold() instead of checking v_cache_src list.
Remove vtouch(), the vnodes are always vget'ed soon enough
after for it to have any measuable effect.
Add sysctl debug.freevnodes to keep track of things.
Move cache_purge() up in getnewvnodes to avoid race.
Decrement v_usecount after VOP_INACTIVE(), put a vhold() on
it during VOP_INACTIVE()
Unmacroize vhold()/vdrop()
Print out VDOOMED and VFREE flags (XXX: should use %b)
Steve Passe [Sun, 31 Aug 1997 03:17:48 +0000 (03:17 +0000)]
Debug version of simple_lock. This will store the CPU id of the
holding CPU along with the lock. When a CPU fails to get the lock
it compares its own id to the holder id. If they are the same it
panic()s, as simple locks are binary, and this would cause a deadlock.
Controlled by smptests.h: SL_DEBUG, ON by default.
Steve Passe [Sun, 31 Aug 1997 03:17:18 +0000 (03:17 +0000)]
Created a private simple_lock to control accesses to com data structs
and hardware.
There is now another simple_lock around clock data/hardware accesses in
clock.c and microtime.s. It is my belief that this is the only area
sio/cy might stumble into during an unblocked INTerrupt. Thus I separated
the sio/cy code from the generic disable_intr()/enable_intr() routines.
Controlled by smptests.h: USE_COMLOCK, ON by default.
Peter Wemm [Sun, 31 Aug 1997 00:08:35 +0000 (00:08 +0000)]
Initial elf nlist support, mostly stolen from OpenBSD (they use standard
#defines that are compatable with ours). I made some some minor tweaks
to the leading '_' tests.
Again, this is off by default for the moment. This probably should be
split into seperate files (like some of our other libc files that could
do with some splitting).
Peter Wemm [Sat, 30 Aug 1997 23:35:00 +0000 (23:35 +0000)]
Initial support for dealing with an elf /kernel. This is a loose hybrid
of OpenBSD's elf nlist code for this, and our a.out version. The OpenBSD
version was mainly a seek/read system with a mmap of the string table,
this one simply mmap's the lot (like the a.out version).
Peter Wemm [Sat, 30 Aug 1997 23:23:18 +0000 (23:23 +0000)]
A first cut at some rules for building elf shared libs. Of particular
note, using "-Wl,-f" to generate a library objects list doesn't work
anymore since the hack to ld hasn't been incorporated into binutils-2.8.
(and the -f switch is used for something else already)