summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Turn on the extended syntax, which TCP_wrappers has by default, asmarkm2003-07-242-2/+2
| | | | distributed.
* Remove GCC-specific debugging option.markm2003-07-241-1/+1
| | | | OK'ed by: phk
* Don't check for the existance of src/crypto/ for building items thatmarkm2003-07-249-11/+9
| | | | | may contain crypto. The days of ITAR paranoia are over, and the simple macro tests that remain are sufficient.
* Missing quotes around a variable. In this case we are onlymtm2003-07-241-1/+1
| | | | | | | evaluating the $_precmd command as a string. We're not actually trying to evaluate the contents of the command. Reported by: Glenn Johnson <gjohnson@srrc.ars.usda.gov>
* Don't lint(1) so early in the build. Its OK to keep this for themarkm2003-07-241-1/+2
| | | | "make all" phase.
* Forced commit.markm2003-07-240-0/+0
| | | | | | The previous commit included some commented-out macro-assignments with comments documenting their function. These macros were of considerable use to me in building a test "make release".
* Get the correct set of cryptographically-infected binariesmarkm2003-07-241-7/+11
| | | | automagically from the (secure|kerberos5)/Makefile:[KS]PROG.
* Make sure that a "make release" (more accurately the bit that makesmarkm2003-07-243-0/+6
| | | | | the crunched binary) get a non-cryptographic telnet. This is overkill in that it covers stuff that is not normally used in a crunched binary.
* The POSIX spec also requires that kern_sigtimedwait returnmtm2003-07-241-1/+1
| | | | EINVAL if tv_nsec of the timeout is less than zero.
* Make the debugging variable that controls dumping of IP over ATM packetsharti2003-07-244-10/+19
| | | | | | | accessible as a sysctl. Submitted by: Vincent Jardin <vjardin@wanadoo.fr> MFC after: 2 weeks
* Create a sysctl that allows to enable/disable printing of SPANS messages.harti2003-07-243-17/+15
| | | | | | | While here delete to sys/types.h includes when sys/param.h is also included. Submitted by: Vincent Jardin <vjardin@wanadoo.fr> MFC after: 2 weeks
* Replaced the hardcoded target names in the touch(1) commands withru2003-07-241-15/+15
| | | | ${.TARGET}, to ease maintenance.
* Free the UNI vcc to the same zone from where it was allocated from.harti2003-07-242-3/+3
| | | | This resulted in a panic when detaching the uni31 signalling manager.
* Now that we have if_detach() don't try to get rid of all the interfaceharti2003-07-241-95/+5
| | | | | | | stuff (routes, ...) by hand - simply use if_detach(). Submitted by: Vincent Jardin <vjardin@wanadoo.fr> MFC after: 2 week
* Complain about extraneous command line arguments.des2003-07-241-0/+3
|
* Create a subtree 'harp' of the net sysctl tree. This uses a fixedharti2003-07-243-3/+31
| | | | | | | | | OID as the other protocol family sub-trees do, that is equal to the protocol family identifier. Make the ATM layer debugging flags available under this tree. Submitted by: Vincent Jardin <vjardin@wanadoo.fr> MFC after: 2 weeks
* Forced commit for the MFC.harti2003-07-240-0/+0
| | | | MFC after: 2 weeks
* Constify the arguments to several pdu_print functions.harti2003-07-249-33/+18
|
* Implement cpu_set_upcall and cpu_set_upcall_kse.davidxu2003-07-241-0/+68
| | | | Reviewed by: peter
* Set fault address to si_addr.davidxu2003-07-241-0/+3
| | | | Reviewed by: peter
* Add BPF support to HARP network interfaces. This allows one to seeharti2003-07-243-0/+37
| | | | | | | | the traffic on LLC multiplexed connections (like CLIP). PR: kern/51831 Submitted by: Vincent Jardin <vjardin@wanadoo.fr> MFC after: 2 weeks
* Implement _get_curthread and _set_curthread. We use GCCs builtinmarcel2003-07-241-1/+6
| | | | | function this, which expands to PAL calls (rduniq and wruniq). This needs adjustment when TLS is implemented.
* Implement casuptr().marcel2003-07-242-7/+29
|
* In get_mcontext() and set_mcontext() save and restore the currentmarcel2003-07-241-3/+15
| | | | thread pointer.
* Fix rescue build using -j. The problem appears to be make not being ablegordon2003-07-241-2/+3
| | | | | | | | | | | | to find the source when the object was specified as <directory>/foo.o. The fix makes the build go through a make objs before compiling the rest of the crunchgen. This ensures that the dhclient bits are built in the correct place where they are picked up for the final compile of rescue. I'd like to thank dwhite@ and gad@ for helping me track down the problem. Fast testing box provided by: phk@ (thanks)
* Implement alpha_pal_wrunique() and alpha_pal_rdunique(). Both aremarcel2003-07-241-0/+17
| | | | | used to set and get the thread pointer. Note that a context switch will automaticly save and restore the thread pointer.
* Use a spare for the thread pointer (mc_thrptr). The thread pointermarcel2003-07-241-1/+2
| | | | | is only read and written by set_mcontext() and get_mcontext() for use by threading libraries.
* Ensure that for the cryptographic instances of *telnet*, the "crypto"markm2003-07-243-0/+3
| | | | distribution is used. This only affects release-building.
* Connect ncplist, ncplogin, and smbutil to the amd64 build.peter2003-07-241-0/+6
|
* Add mount_nwfs/mount_smbfs to the build for amd64.peter2003-07-241-0/+2
|
* Connect libncp/libsmb to the build. They compile, but have a couple ofpeter2003-07-241-0/+5
| | | | | silly bugs that probably wont quite make a segfault. eg: passing a pointer to an int to sysctl instead of a pointer to a size_t.
* size_t != int. Make this compile on 64 bit platforms (eg: amd64).peter2003-07-243-4/+5
| | | | Also, "u_short value; if (value > 0xffff)" can never be true.
* Build /sbin/gpt on amd64 for good luck as well.peter2003-07-241-1/+2
|
* Attach acpi, boot0cfg, lptcontrol, sicontrol, spkrtest, zzz for amd64.peter2003-07-241-1/+11
|
* Fix an annoying bug in tar. When it converted 'tar zcf' to 'tar -z -c -f'peter2003-07-241-1/+4
| | | | | | | | it forgot to null terminate the new argv[] array. If you mixed this with $TAR_OPTIONS, phkmalloc and a whole bunch of other variables, you could end up with a segfault. This isn't strictly a phkmalloc victory since tar walks off the end of an array rather than use uninitialized malloc memory, but phkmalloc makes it easier to provoke.
* Simplistic C comment re is wrong, use more correct oneimp2003-07-231-1/+1
|
* Remove old workaroundimp2003-07-231-3/+1
|
* Make the breakpoint instruction trap gate available to users.peter2003-07-231-1/+1
| | | | | | ptrace() needs this. Submitted by: Mark Kettenis <kettenis@chello.nl>
* Set the %gs base to pcb_gsbase, not pcb_fsbase. Oops.peter2003-07-231-1/+1
| | | | Discovered by: davidxu
* Turn -Werror back off again. Leaving out the invariants options causespeter2003-07-231-1/+1
| | | | more trouble than I expected.
* Document an additional error return value. The connect(2) call can alsodds2003-07-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | return EACCES on non-Unix domain sockets as demonstrated by the following program: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> int main(int argc, char *argv[]) { struct sockaddr_in rem_addr; int sock; if ((sock = socket(AF_INET, SOCK_STREAM, 0)) < 0) { perror("socket"); exit(1); } bzero((char *)&rem_addr, sizeof(rem_addr)); rem_addr.sin_family = AF_INET; rem_addr.sin_addr.s_addr = INADDR_NONE; rem_addr.sin_port = htons(10000); if (connect(sock, (struct sockaddr *)&rem_addr, sizeof(rem_addr)) < 0) { perror("connect"); exit(1); } } The call chain returning this value is probably: kern/uipc_syscalls.c:connect kern/uipc_socket.c:soconnect netinet/tcp_usrreq.c:tcp_usr_connect netinet/tcp_output.c:tcp_output netinet/ip_output.c:ip_output Reviewed by: schweikh (mentor) MFC after: 2 weeks
* Added the (undocumented) EMUL_BOOT variable (for TARGET=i386 only)ru2003-07-232-5/+11
| | | | | | | | | that causes the bootable ISO images to be created using the floppy emulation (the old method) as opposed to the new "cdboot" method. Only copy boot.flp to the 2nd CD-ROM if this variable is defined. Reviewed by: murray
* Initialize 'blocked' to NULL. I think this was a real problem, but Ipeter2003-07-231-0/+1
| | | | | am not sure about that. The lack of -Werror and the inline noise hid this for a while.
* Stop GCC from whining when people use a 16 bit port number for inb() and outb()phk2003-07-231-2/+2
|
* Install rc files from ${.CURDIR}, not ${.OBJDIR}.des2003-07-231-1/+2
|
* Sample configuration files.des2003-07-2315-0/+165
|
* Rewrite tbmaster to use configuration files instead of a hard-coded hash.des2003-07-232-253/+283
|
* Improve the markup a little.des2003-07-231-11/+11
|
* Turn -Werror back on.peter2003-07-231-1/+1
|
* ARGH. I *knew* I'd eventually accidently commit this. Change 5.1-XP backpeter2003-07-231-1/+1
| | | | to 5.1-CURRENT.
OpenPOWER on IntegriCloud