| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \
| |/ |
|
| |
| |
| |
| | |
Build libpam modules in parallel.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
Add EVFILT_VNODE open, read and close notifications.
MFC r298984:
Correct wording.
|
| |
| |
| |
| |
| |
| | |
Issue NOTE_EXTEND when a directory entry is added to or removed from
the monitored directory as the result of rename(2) operation. The
renames staying in the directory are not reported.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix memory allocation edgecases in kvm_argv(..)
- Don't leak nbufp on realloc failure in kvm_argv
- Catch malloc errors with bufp
- Set buflen last in the "buflen == 0" case to ensure that
bufp/nbufp is properly reallocated on the next go around
|
| |
| |
| |
| |
| |
| | |
Don't leak PML4 in _amd64_initvtop(..) if kvm_read2(..) fails
CID: 1341474
|
| |
| |
| |
| |
| |
| |
| | |
Do not leak THR_FLAGS_SUSPENDED from the previous suspend/resume
cycle.
PR: 209233
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
settle. file is now downgraded to 5.25.
PR: bin/209211
Requested by: Tomoaki AOKI
Relnotes: yes
|
| |
| |
| |
| | |
Explain NOTE_LINK reporting for the directories.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Provide an example to the kqueue man page, showing
a basic usage example. Although it is an
untypical example for the use of kqueue, it is
better than nothing and should get people started.
PR: 196844
Submitted by: fernando.apesteguia@gmail.com
Reviewed by: kib
Approved by: kib
Differential Revision: https://reviews.freebsd.org/D6082
|
| |
| |
| |
| | |
Clean up trailing whitespace in lib/libcam; no functional change
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix va_list handling
- Add missing va_end's after corresponding va_start's to cleanup state
- Eliminate questionable bzero'ing of va_list passed in to
do_buff_decode(..) and do_encode(..) from buff_{de,en}code_visit(..)
and csio_{de,en}code_visit(..). Make va_list a pointer instead and
pass NULL into the underlying functions to handler this in a portable
way.
- Do some minor style(9) clean up in affected functions.
CID: 1018500-1018503
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
r298311:
Make sure fmemopen succeeds in :test_append_binary_pos before calling ftell
on the FILE object
This fixes potential null pointer dereferences on failure
CID: 1254952
r298312:
Fix double fclose of `fp1` when freopen fails
freopen handles closing file descriptors on error, with the exception of
fdopen'ed descriptors, so closing an already fclose'd file descriptor is
incorrect
CID: 1338525
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
Update file to 5.26.
Relnotes: yes
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
regex: prevent two improbable signed integer overflows.
In matcher() we used an integer to index nsub of type size_t.
In print() we used an integer to index nstates of type sopno,
typedef'd long.
In both cases the indexes never take negative values.
Match the types to avoid any error.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Fix markup on "\n" in printf so it renders correctly.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix appending -O0 to CFLAGS
The previous method would completely nerf CFLAGS once bsd.progs.mk had
recursed into the per-PROG logic and make the CFLAGS for tap testcases
to -O0, instead of appending to CFLAGS for all of the tap testcases.
|
| |
| |
| |
| |
| | |
Remove trailing whitespace and use `nitems(mib)` instead of `2` when
calling sysctl(3)
|
| |
| |
| |
| |
| |
| | |
libgssapi: avoid NULL pointer dereferences.
While here also use NULL instead of zero for pointers.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
Document KTRFAC_FAULT and KTRFAC_FAULTEND.
Obtained from: CheriBSD (9d70f563f1b033e6a9b51eaf3b145a8cbbc6617c)
Sponsored by: DARPA, AFRL
|
| |
| |
| |
| |
| | |
Follow-up r295924: Only sync hash-based db files open for writing when
closing.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Sponsored by: The FreeBSD Foundation
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The namesz and descsz variables need to be used in native endianness.
The sizes are in native order after swapping in the file to memory case,
and before swapping in the memory to file case.
This change is not identical to r275430 because r273443 was never merged
to stable/10, and libelf moved from lib/ to contrib/elftoolchain/.
|
| |
| |
| |
| | |
Remove unused variable.
|
| |
| |
| |
| | |
SJIS encoding don't have single byte characters >= 224
|
| | |
|
| |
| |
| |
| | |
PR: 206927
|
| |
| |
| |
| |
| | |
From libthr, remove special and strange code to set up session and
control terminal, activated when running with pid 1.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
mbtowc(3): set errno to EILSEQ if an incomplete character is passed.
According to POSIX, The mbtowc() function shall fail if:
[EILSEQ] An invalid character sequence is detected.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D5496
Obtained from: OpenBSD (Ingo Schwarze)
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
rpc: fix failure to clear string by passing the wrong size to memset.
Noted by NetBSD's PR/21014
Obtained from: NetBSD (CVS Rev. 1.24, 1.25)
|
| |
| |
| |
| | |
Fix typo.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Add missing CLEANFILES.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
MFH (r296634): re-add aes-cbc to server-side default cipher list
MFH (r296651, r296657): fix gcc build of pam_ssh
PR: 207679
Security: CVE-2016-3115
|
| |
| |
| |
| | |
Fix the gcc build after r295407.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
r268620:
Make generation of nslexer.c more robust.
r294876:
nslexer.c does not depend on nsparser.h.
r294877:
Replace nslexer.l->nslexer.c custom rule with a -D CFLAG.
|
| |
| |
| |
| | |
Make libc __pthread_map_stacks_exec() interposed.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
r295924: Make sure that hash-based db files fsync befor closing/syncing.
r295925: We no longer need O_SYNC pwd_mkd
r295465: We no longer need O_SYNC on services_mkdb
r295800: We no longer need O_SYNC on cap_mkdb
This should improve the performance of building db files.
|
| |
| |
| |
| | |
This reverts commit 3882f7f0612f5660c6287cfa1ba025f2843a1957.
|
| | |
|