summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2021-12-17curses: spell "foreground" correctly in commentsuwe
2021-12-15Fix for PR lib/56298blymn
Remove the DIAGASSERT for str being NULL in the puts/putp functions, add protection so that the functions just return OK if str is NULL. This prevents the assert firing when libcurses passes through a NULL due to an undefined terminfo entry.
2021-12-12fix typos in word "request(s)".andvar
2021-12-12fix typos in word "operation(s)".andvar
2021-12-11remove clause 3 from all my licenses that aren't conflicting withmrg
another copyright claim line. again. (i did this in 2008 and then did not update all of my personal templates.)
2021-12-10s/occured/occurred/ in comments, log messages and man pages.andvar
2021-12-10s/unaccessible/inaccessible/andvar
2021-12-10s/premissions/permissions/msaitoh
2021-12-08fix various typos in comments and log messages.andvar
2021-12-08s/efficent/efficient/ in comments.andvar
2021-12-07s/listner/listener/andvar
2021-12-07In unix_parse(), always allocate memory for the entire struct sockaddr_ungson
and not just the part used by the present pathname, because the entire struct will be passed to bind() and an EFAULT can result if not all of it is a valid allocation. Fixes PR kern/56533.
2021-12-05PR/56538: coypu: For compat ctime and friends (when time_t was 32 bits)christos
we want to load the timezone data using the same structs they were saved as. Introduce __time_t which is always 64 bits and make the minimal changes for this to work. Yes, it is ugly.
2021-12-05jemalloc.3: fix malformed CVS Idrillig
2021-12-05s/supress/suppress/msaitoh
2021-12-05s/succesful/successful/ in comment.msaitoh
2021-12-05s/numberic/numeric/ in comment.msaitoh
2021-12-05s/argumetn/argument/ in comment.msaitoh
2021-12-04librefuse: Preparation of a proper API versioning; no more #ifdef woes in ↵pho
user code The goal is to fully support FUSE API version 3.0 while maintaining API/ABI compatibility with code written for 2.6 (or even older). * <fuse.h> now emits a compiler warning if it's included without defining FUSE_USE_VERSION. It had been silently defaulted to the latest supported version prior to this change. This is permissive compared to the original FUSE, as it emits an error instead. * <fuse.h> now emits a warning if FUSE_USE_VERSION is higher than what can be provided. * Added a macro FUSE_MAKE_VERSION(maj, min). It was missing from librefuse <fuse.h>. No actual API updates have been made (yet).
2021-12-03Use size_t in place of voff_t in puffs_setrootinfo(3)pho
Chuck Silvers pointed out that voff_t was also supposed to be kernel-only. The correct type to use in userland would be off_t, but since changing vsize_t to either voff_t or off_t is an ABI change on 32-bit platforms, we use size_t knowing that it is technically incorrect.
2021-12-03Avoid using register_t or vsize_t in <puffs.h>pho
<puffs.h> is a user-space header, and should not use any of kernel-only types. It's not reasonable to require user-land filesystems to #define _KERNTYPES.
2021-12-03fix various typos in comments, log messages and documentation.andvar
2021-12-01Revert my previous change to struct fuse_optpho
I should have thought twice before commiting it. Of course changing the layout of a struct breaks ABI compatibility. Change the offset back to fixed 32 bits.
2021-12-01Use correct types for the fields of struct fuse_optpho
This change shouldn't make any behavioral differences in reality, but compilers these days dislike converting -1U to int32_t implicitly, which is indeed understandable.
2021-11-30Move the call of fuse_operations::init() from fuse_new() to fuse_loop()pho
Prior to this change we were calling init() before daemonizing the process. Some filesystems call chdir(2) in init() but fuse_daemonize() call chdir("/"), which breaks assumptions about the state of the process.
2021-11-27Trailing whitespaceskrll
2021-11-24Decorate the VAX signal trampoline with the appropriate .cfithorpej
directives to allow exception unwind / backtrace across a signal handler. N.B. This is currently disabled, as these .cfi directives cause linker warnings about incompatible TEXTREL relocations in .eh_frame.
2021-11-24Decorate the SuperH signal trampoline with the appropriate .cfithorpej
directives to allow exception unwind / backtrace across a signal handler.
2021-11-23Decorate the ARM signal trampoline with the appropriate .cfithorpej
directives to allow exception unwind / backtrace across a signal handler.
2021-11-23Because the PC is not a general purpose register on aarch64, we needthorpej
to use DWARF pseudo-register for the signal trampoline return address. Adjust the style to match other platforms.
2021-11-22Don't waste time setting the dirty flag multiple times.blymn
2021-11-22cgdconfig(8): Add an argon2id password-based key generation methodnia
This provides an extra level of side-channel and cracking resistance compared to the pre-existing pkcs5_pbkdf2/sha1 method used for password-based disk encryption. Several new keygen parameters are supported: memory (integer, in kilobytes) parallelism (integer, usually the number of CPU cores) version (integer, usually 19...) We do our best to calibrate these automatically when the paramsfile is initially generated. lgtm riastradh@
2021-11-22crypt(3): document some of the memory units we're dealing withnia
2021-11-21Decorate the m68k signal trampoline with the appropriate .cfithorpej
directives to allow exception unwind / backtrace across a signal handler.
2021-11-21Decorate the powerpc signal trampoline with the appropriate .cfithorpej
directives to allow exception unwind / backtrace across a signal handler.
2021-11-20Use the DWARF pseudo-register for the signal trampoline return address.thorpej
2021-11-19Mention that fchmod conforms to XPG 4.2. Bump date.wiz
2021-11-18Decorate the MIPS signal trampoline with the appropriate .cfithorpej
directives to allow exception unwind / backtrace across a signal handler.
2021-11-16Move 'i' into DEBUG only code (now there be three).kre
Hopefully unbreaks !DEBUG builds.
2021-11-16Fix handling of the tab special character.blymn
2021-11-15More cleanups and typo corrections.kre
2021-11-15Clean up.wiz
2021-11-15Sort SEE ALSO.wiz
2021-11-15Add man pages for posix_spawn_file_actions_add{f,}chdir from piyushchristos
2021-11-15Fix for PR lib/55433blymn
Correct the behaviour for ins_wstr: * Properly check the string will fit by processing any special characters present when preforming the check. * Simplify the routine by removing code that duplicates the code in _cursesi_addwchar and just call _cursesi_addwchar.
2021-11-07fix various typos, mainly s/prefered/preferred/andvar
2021-11-07Commit the userland portion of the posix_spawn_chdir project by Piyush Sachdevachristos
2021-11-03usbhid(3): use reallocarrnia
2021-11-03CFI: Saved RA needs to point to the PC slot in the ucontext_t.thorpej
2021-11-03Set up the CFI in a slightly more rational way.thorpej