summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix sentence in commentphantom2002-02-061-1/+1
|
* Update description of 'ac' subdirectoryphantom2002-02-061-2/+2
|
* Add descirptions of scripts in this directoryphantom2002-02-061-0/+9
|
* Add script that checks contents of .ent files (sorting and addresses)phantom2002-02-061-0/+58
|
* List of committers was moved out of handbook. Teach 'ac' about new location.phantom2002-02-061-2/+4
| | | | | Also teach it about complex entries in access file (or correctly to say simplify them)
* o Remove __Pimp2002-02-061-6/+4
| | | | | o Use proper prototypes o remove register
* Remove some unused variables, mark unused parameters as unused and changeimp2002-02-061-13/+12
| | | | | names of variables that shadow globally declared variables. This should help people doing later WARNS= fixes.
* o __P removalimp2002-02-065-160/+116
| | | | | o remove register o use strict prototypes
* Remove files that shouldn't have been imported.nectar2002-02-0611-417/+0
| | | | | | | These will be surgically removed from the repository. Approved by: markm (with a CVS Meister hat on)
* remove -M from RPCCOM, it slipped in with the tirpc upgrade.alfred2002-02-061-1/+1
| | | | Submitted by: mbr
* ANSIfy and remove some dead code.des2002-02-0634-536/+308
| | | | Sponsored by: DARPA, NAI Labs
* Apply the following mechanical transformations in preparation fordes2002-02-0644-418/+422
| | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week
* 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
OpenPOWER on IntegriCloud