summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Set WFORMAT=0, overlooked in previous commits to libexec/.kris2002-02-062-0/+2
| | | | Reported by: jhay
* Forced commit. Previous commit was in response to:des2002-02-060-0/+0
| | | | PR: kern/33583
* Do a bit more of prototype cleanup.ru2002-02-063-6/+1
|
* Use the stock [3.1-snap] version of this.obrien2002-02-063-259/+144
|
* A slightly more general version of rev 1.2 that might be more acceptableobrien2002-02-061-4/+11
| | | | to the GCC maintainers.
* Merge BDE's printf format error fixes (rev 1.2) into GCC 3.1-snap.obrien2002-02-061-29/+49
|
* Use the stock GCC 3.1-snap version of this.obrien2002-02-061-917/+649
|
* A slightly different version of rev 1.2 that is closer to something theobrien2002-02-061-5/+12
| | | | GCC maintainers might actually accept.
* Merge rev 1.2 (printf format error fixes) into GCC 3.1-snap.obrien2002-02-061-6350/+5951
|
* Use the stock [3.l-snap] version of this.obrien2002-02-061-6540/+17990
|
* Use the stock [3.1-snap] file.obrien2002-02-063-2974/+3574
|
* Use the stock file for now.obrien2002-02-061-3655/+10227
| | | | | | The changes from GCC 2.95.3 to 3.1 are large and it is hard to figure out how to apply our changes. Once BDE can properly test GCC 3.1 he'll add back in our changes.
* Merge the stock gcc-3.1_snap file onto HEAD.obrien2002-02-062-1216/+5107
|
* Merge rev 1.2 (-fformat-extensions) and rev 1.7 (optimization downgrade)obrien2002-02-061-3715/+3194
| | | | into GCC 3.1-snap.
* Install PROTO.localhost-v6.rev. Umm, it seems namedb/Makefileume2002-02-061-1/+2
| | | | is not used.
* We use the stock [3.1-snap] file.obrien2002-02-061-2536/+577
|
* Install PROTO.localhost-v6.rev.ume2002-02-061-1/+2
| | | | | Reported by: Scott Allendorf <scott-allendorf@uiowa.edu> Forgot by: me (ume)
* Fixes for alpha pmap on SMP machines:jhb2002-02-063-52/+66
| | | | | | | | | | | | | | | | | | | | - Create a private list of active pmaps rather than abusing the list of all processes when we need to look up pmaps. The process list needs a sx lock and we can't be getting sx locks in the middle of cpu_switch() (pmap_activate() can call pmap_get_asn() from cpu_switch()). Instead, we protect the list with a spinlock. This also means the list is shorter since a pmap can be used by more than one process and we could (at least in thoery) dink with pmap's more than once, but now we only touch each pmap once when we have to update all of them. - Wrap pmap_activate()'s code to get a new ASN in an explicit critical section so that when it is called while doing an exec() we can't get preempted. - Replace splhigh() in pmap_growkernel() with a critical section to prevent preemption while we are adjusting the kernel page tables. - Fixes abuse of PCPU_GET(), which doesn't return an L-value. - Also adds some slight cleanups to the ASN handling by adding some macros instead of magic numbers in relation to the ASN and ASN generations. Reviewed by: dfr
* Merge revs 1.{2,15} (FREEBSD_NATIVE); 1.{5,13} (ELF, and objformat support);obrien2002-02-061-1483/+2634
| | | | | | | 1.16 (allow specification of TOOLS_PREFIX); 1.21 ("GCC_OPTIONS") into GCC 3.1-snap. Note that rev 1.20 was fixed in the stock GCC 3 sources.
* Make cron actually build without defining LOGIN_CAP.bbraun2002-02-061-1/+1
| | | | Reviewed by: jkh
* Don't attach to Dell PERC2/QC cards that have a firmware rev of 1.x. Thisscottl2002-02-064-0/+51
| | | | | | | | check is complicated by the fact that the Adaptec 5400S cards claim to use 1.x firmware also. PERC2/QC 1.x firmware is not compatible with this driver and will cause a system hang. MFC after: 3 days
* Allow the kern.maxusers boot tuneable to be set to 0 (previously onlydillon2002-02-061-2/+3
| | | | | | the kernel config's maxusers could be set to 0 for autosizing to work). Reviewed by: rwatson, imp MFC after: 3 days
* balance parens.alfred2002-02-051-1/+1
| | | | Submitted by: mbr
* For RPC v2 we need to fill in ret->xp_raddr too. INET_6alfred2002-02-051-1/+1
| | | | | | is not supported in portmap, so we don't have to care about it. Submitted by: mbr
* Fix cc -Wall, fix rcsid warnings, add missing prototypes,alfred2002-02-0521-26/+51
| | | | | | | | | change prototypes to be the same as in the original sun tirpc code. Remove ()P macro in a file where the mayority had ()P already removed. Add them if the mayority use ()P macros. Submitted by: mbr Requested by: bde
* Correctly identify the Intel 82830 AGP bridge.benno2002-02-052-0/+6
|
* Do not call addrinfo on local transport adresses, if returning aalfred2002-02-051-5/+25
| | | | | | | | | server handle (for reuse or whatever). We just return now a handle connected to the local rpcbind. Do not try to call checkcache, if host = NULL; Submitted by: mbr
* Switch to a self-starting allocation scheme.des2002-02-051-10/+3
|
* Reindent, and add parentheses to return statements. Some functions indes2002-02-058-1989/+1997
| | | | | ftp.c and http.c now have exceedingly long lines due to deep nesting; this will be corrected by reorganizing the code in a later revision.
* Fix the race between the stat() and the mkdir().zarzycki2002-02-051-16/+19
| | | | Reviewed by: jkh
* Update the physio man page to better reflect reality.joe2002-02-051-37/+14
| | | | | | PR: docs/30603 Reviewed by: phk MFC after: 3 days
* Eliminate a redundant loop.des2002-02-051-2/+1
|
* Fix a race with free'ing vmspaces at process exit when vmspaces arealfred2002-02-055-20/+37
| | | | | | | | | | | | | | | | | | | shared. Also introduce vm_endcopy instead of using pointer tricks when initializing new vmspaces. The race occured because of how the reference was utilized: test vmspace reference, possibly block, decrement reference When sharing a vmspace between multiple processes it was possible for two processes exiting at the same time to test the reference count, possibly block and neither one free because they wouldn't see the other's update. Submitted by: green
* Fix minor disorder in functions declared in extern.himp2002-02-051-1/+1
|
* o Move externs to extern.himp2002-02-056-65/+72
| | | | | | | | o Use new-style prototypes exclusively rather than the old foo() style. o Use new-style function definitions. o remove register o make functions passed to signal have the right signature. o do minor const poisoning.
* Let the number of timecounters follow hz, otherwise people withphk2002-02-052-3/+4
| | | | | | | | | | | | | HZ=BIGNUM will strain the assumptions behind timecounters to the point where they break. This may or may not help people seeing microuptime() backwards messages. Make the global timecounter variable volatile, it makes no difference in the code GCC generates, but it makes represents the intent correctly. Thanks to: jdp MFC after: 2 weeks
* style: return(x) -> return (x)alfred2002-02-051-2/+2
| | | | Submitted by: mbr
* Fix the credential handling code.alfred2002-02-051-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In NetBSD, Solaris, xprt->xp_p2 pointed directly to the credentials, in FreeBSD xprt->xp_verf.oa_base was a pointer to a struct cmessage, which is defined as follow: struct cmessage { struct cmsghdr cmsg; struct cmsgcred cmcred; }; The credentials were submitted the right way and xprt->xp_p2 pointed to them. But cb_verf.oa_flavor was still empty. There was an assignment missing in svc_recv() in svc_vc.c: msg->rm_call.cb_verf.oa_flavor = AUTH_UNIX; Also + if (addr.ss_family == AF_LOCAL) { + xprt->xp_raddr = *(struct sockaddr_in *)xprt->xp_rtaddr.buf; + xprt->xp_addrlen = sizeof (struct sockaddr_in); + } was missing. But the first seems not to be needed: I guess in rpc.yppasswdd there was a typo: - transp>xp_verf.oa_flavor != AUTH_UNIX) { + rqstp->rq_cred.oa_flavor != AUTH_UNIX) { This little fix does fix the breakage in rpc.yppasswdd :-) + if (msg.msg_controllen == 0 || + (msg.msg_flags & MSG_CTRUNC) != 0) + return (-1); We cannot set the cb_verf.oa_length in svc_recv() of svc_vc.c, the credentials get overwritten then, and that's bad. Submitted by: mbr
* The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacksalfred2002-02-054-30/+73
| | | | | | | | | | | | | were removed and replaced them with clnt_tp_create, now the af_local support is fixed. I also removed the hack how rpcinfo contacted rpcbind, now we can relay on clnt_tp_create create the client-handle for us. Only rpcbind itself needs a hardcoded socket-path. Submitted by: mbr Also add $FreeBSD
* Fix the breakage in rpc.yppasswd. Readded the svc_create() andalfred2002-02-052-78/+51
| | | | | | | | | | | the registering of the "unix" transport, now it is fixed. Everywhere, rq_cred is taken to look what authentification we have. We can not be sure that transp>xp_verf.oa_flavor is also filled in. This seems to be the same for all sun source. they take the flavor of rq_cred, instead of transp. Submitted by: mbr
* The hardware checksum code makes the assumption that a packet routed outarchie2002-02-051-2/+9
| | | | | | | | | | | | a particular Ethernet interface will actually be delivered by (only) that device driver. This is not necessarily true when ng_ether(4) is used. To word around this, while a ng_ether(4)'s "upper" hook is connected, turn off all hardware checksum, fragmentation, etc., features for that interface. PR: kern/31586 MFC after: 1 week
* tab in pw_mkdb's arg for style.alfred2002-02-051-1/+1
|
* Constify things to unbreak world.alfred2002-02-052-3/+3
| | | | Submitted by: David Wolfskill <david@catwhisker.org>
* Add a manpage for VOP_REVOKE(9).green2002-02-052-1/+63
| | | | Sponsored by: DARPA, NAI Labs
* Document that VOP_GETATTR(9) does not actually expect to hold angreen2002-02-051-3/+3
| | | | | | exclusive lock on entry. Sponsored by: DARPA, NAI Labs
* Don't use non-signal-safe functions (exit(3) in this case) insheldonh2002-02-053-3/+3
| | | | | | | | | | | signal handlers. In this case, use _exit(2) instead, following the call to shutdown(2). This fixes rare telnetd hangs. PR: misc/33672 Submitted by: Umesh Krishnaswamy <umesh@juniper.net> MFC after: 1 month
* Add support for the Aztech 2320 chip.tg2002-02-051-0/+45
| | | | | Reviewed by: cg Obtained from: NetBSD (partly)
* Fix -F with logfiles rotated on time only.roam2002-02-051-1/+1
| | | | | Approved by: silence on -audit MFC after: 1 month
* This commit was generated by cvs2svn to compensate for changes in r90238,sheldonh2002-02-051-1/+1
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fix obscure bug in code loading support that could cause parsing ofsheldonh2002-02-051-1/+1
| | | | | | | | | | | | | | | | | | functions in multi-line files to fail, depending on the state of the stack. The fix is sanctioned by the vendor and will appear in bc-1.07. PR: bin/34601 Reported by: mi Obtained from: Phil Nelson <phil@cs.wwu.edu>
OpenPOWER on IntegriCloud