summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add pam_ksu(8), a module to do Kerberos 5 authentication andnectar2002-05-284-0/+412
| | | | | | $HOME/.k5login authorization for su(1). Reviewed by: des (earlier version)
* Remove use of __P() (actually P()) from code now that it's no longeralfred2002-05-282-42/+42
| | | | available.
* Fix formatting, this is hard to explain, so I'll show one example.alfred2002-05-28129-141/+282
| | | | | | | | | | - float ynf(int n, float x) /* wrapper ynf */ +float +ynf(int n, float x) /* wrapper ynf */ This is because the __STDC__ stuff was indented. Reviewed by: md5
* Assume __STDC__, remove non-__STDC__ code.alfred2002-05-28141-1502/+5
| | | | Reviewed by: md5
* Assume __STDC__, remove non-__STDC__ code.alfred2002-05-2854-580/+42
| | | | Submitted by: keramida
* Add uuidgen(2) and uuidgen(1).marcel2002-05-282-1/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The uuidgen command, by means of the uuidgen syscall, generates one or more Universally Unique Identifiers compatible with OSF/DCE 1.1 version 1 UUIDs. From the Perforce logs (change 11995): Round of cleanups: o Give uuidgen() the correct prototype in syscalls.master o Define struct uuid according to DCE 1.1 in sys/uuid.h o Use struct uuid instead of uuid_t. The latter is defined in sys/uuid.h but should not be used in kernel land. o Add snprintf_uuid(), printf_uuid() and sbuf_printf_uuid() to kern_uuid.c for use in the kernel (currently geom_gpt.c). o Rename the non-standard struct uuid in kern/kern_uuid.c to struct uuid_private and give it a slightly better definition for better byte-order handling. See below. o In sys/gpt.h, fix the broken uuid definitions to match the now compliant struct uuid definition. See below. o In usr.bin/uuidgen/uuidgen.c catch up with struct uuid change. A note about byte-order: The standard failed to provide a non-conflicting and unambiguous definition for the binary representation. My initial implementation always wrote the timestamp as a 64-bit little-endian (2s-complement) integral. The clock sequence was always written as a 16-bit big-endian (2s-complement) integral. After a good nights sleep and couple of Pan Galactic Gargle Blasters (not necessarily in that order :-) I reread the spec and came to the conclusion that the time fields are always written in the native by order, provided the the low, mid and hi chopping still occurs. The spec mentions that you "might need to swap bytes if you talk to a machine that has a different byte-order". The clock sequence is always written in big-endian order (as is the IEEE 802 address) because its division is resulting in bytes, making the ordering unambiguous.
* Correct a check for NUL.robert2002-05-271-1/+1
| | | | Spotted by: bde
* - Move the loop conditional into the "for" header.robert2002-05-271-19/+17
| | | | | | | | - Remove redundant "? :" construct. style(9): - Place a space after return statements. - Compare pointers to NULL. - Do not use ! to compare a character to nul.
* Remove spurious period.dd2002-05-271-1/+1
|
* Remove extra word.dd2002-05-261-1/+1
| | | | Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
* Add openpam_nullconv.3.des2002-05-241-0/+1
|
* Add missing include.des2002-05-241-0/+1
|
* These files are no longer used.jake2002-05-2411-196/+0
|
* Revamp suspend and resume. While I'm here add pthread_suspend_all_np()deischen2002-05-2439-921/+693
| | | | | | | | | | | | | and pthread_resume_all_np(). These suspend and resume all threads except the current thread, respectively. The existing functions pthread_single_np() and pthread_multi_np(), which formerly had no effect, now exhibit the same behaviour and pthread_suspend_all_np() and pthread_resume_all_np(). These functions have been added mostly for the native java port. Don't allow the uthread kernel pipe to use the same descriptors as stdio. Mostily submitted by Oswald Buddenhagen <ossi@kde.org>. Correct some minor style nits.
* Generate the normal asm stubs for all sysv system calls. Use these insteadjake2002-05-237-33/+18
| | | | | | | of C wrappers for the *sys indirect system calls. The indirect system calls are horribly broken on sparc64. Submitted by: tmm
* Just to show that PAM can do almost anything from the ridiculous to thedes2002-05-237-0/+418
| | | | | | | obscene, or - as they say in New York - sophisticated, add pam_echo(8) and pam_exec(8) to our ever-lengthening roster of PAM modules. Sponsored by: DARPA, NAI Labs.
* Avoid wandering over the beginning of the actual bufferrobert2002-05-231-1/+1
| | | | | | | if the passed template string contains only 'X' characters. Submitted by: Mark Andrews <marka@isc.org> (patch modified) PR: 38402
* Hide a couple of unguarded error returns behind the no_fail test.des2002-05-231-5/+6
|
* Free old_pwd only in the code path where it has been allocated.jmallett2002-05-221-1/+1
| | | | Reviewed by: des
* Make this a little easier to build standalone. (same change as libpanel)peter2002-05-214-4/+20
|
* Initial update of bmake glue for ncurses-5.2-20020518peter2002-05-212-4/+14
|
* Initial update of bmake glue for ncurses-5.2-20020518. More to come.peter2002-05-214-64/+124
|
* Spread the word of PowerPC.benno2002-05-211-1/+2
|
* Let this code know about PowerPC.benno2002-05-211-1/+1
|
* Catch up to tte.h changes.jake2002-05-211-2/+2
|
* Use an explicitly-sized type instead of daddr_t for on-disk blockiedowse2002-05-191-2/+2
| | | | numbers.
* mdoc(7) police: fixed the whatis entry.ru2002-05-181-1/+1
|
* Don't try to build libc_r on sparc64, the _atomic_lock.S file isn't implemented.phk2002-05-181-1/+1
|
* UFS indirect blocks are size u_int32_t, not daddr_tphk2002-05-181-2/+2
|
* Update the EINVAL description again - it turns out that EINVALroam2002-05-171-3/+4
| | | | | | | | | may be returned by Q_SETQUOTA as well as the originally listed Q_GETQUOTA. Noticed by: dd Approved by: silence from dd MFC after: 3 days
* _C_LABEL -> CNAMEbenno2002-05-171-14/+14
| | | | Forgotten by: benno
* Flesh this out, based on the NetBSD version.benno2002-05-171-10/+41
| | | | Reviewed by: obrien
* Grow RSYSCALL.obrien2002-05-151-0/+4
|
* Our default syscall.S is identical to what was explicitly being done forobrien2002-05-154-67/+2
| | | | Alpha and IA-64. So there is no need for special handling.
* Blah, fix stupid syntax error.obrien2002-05-151-1/+1
| | | | (where's the hat?)
* host-network order conversion routines.obrien2002-05-155-0/+158
| | | | Luckily we are network order, so there is little to be done. :-)
* Do not build pam_ssh if NOSECURE is set (NO_OPENSSL is on a subset of NOSECURE)obrien2002-05-151-1/+2
|
* Do not build libmp if NOSECURE is set (NO_OPENSSL is on a subset of NOSECURE)obrien2002-05-151-1/+2
|
* PowerPC does not have profile support yet.obrien2002-05-151-0/+2
|
* Beginnings of syscall bits for PowerPC. These are no doubtedly wrong,obrien2002-05-151-0/+43
| | | | | | but it gets the build father and is in the right direction. Partially obtained from: NetBSD
* Clarify that the value of getc() etc. is an unsigned char convertedfanf2002-05-151-0/+4
| | | | | | | | to an int (as per the C standard) i.e. it can be passed straight to isalpha() etc. Approved by: dwmalone (mentor) MFC after: 3 days
* `all-man' now creates manpages in the -DNOMANCOMPRESS case too.ru2002-05-152-2/+0
|
* Stub out _kvm_mdopen, we don't the same constants as NetBSDobrien2002-05-151-0/+2
|
* Add a PowerPC machdep for kvm.obrien2002-05-151-0/+101
| | | | Obtained from: NetBSD (rev 1.4, pre-UVM)
* Undo namespace pollution by prefixing the globals pthread_guard_default andalfred2002-05-1512-78/+87
| | | | | | | | pthread_page_size. Fix a bunch line wrapping. Pointed out by: deischen
* Use .rodata section for $FreeBSD$.obrien2002-05-156-12/+20
|
* I somehow managed to forgot to commit this in my INCS sweep.ru2002-05-141-4/+0
| | | | We don't need the `beforeinstall' here, INCS handles this.
* New cpp(1) doesn't like -I${DESTDIR}/usr/include.ru2002-05-141-1/+1
|
* Document Q_GETQUOTA returning EINVAL when quotas are not enabledroam2002-05-141-0/+4
| | | | | | | | | on the filesystem. PR: doc/37839 Submitted by: "Michael R. Wayne" <wayne@staff.msen.com> Approved by: silence on -doc MFC after: 3 days
* string cleanup:ken2002-05-141-14/+12
| | | | | | | | | | | - fix a potential overrun made worse by rev 1.5 of camlib.h - change strncpy() and strcpy() calls to strlcpy() - use sizeof(string[]) instead of STRING_LEN to avoid future problems - get rid of an unused variable Thanks to BDE for pointing out some of the problems. MFC after: 2 weeks
OpenPOWER on IntegriCloud