| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
information out of it. As reported by Giorgos Keramidas.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After the MPSAFE TTY import we support an additional rlimit, called
RLIMIT_NPTS. This limit allows you to cap the amount of pseudo-terminals
allocated by one user.
We forgot to add support for this limit to limits(1), which means it
crashed. Add the proper bits to make it work like it should.
Unfortunately not all shells actually implement the RLIMIT, so
unfortunately I suspect it to be broken with certain shells.
Submitted by: Yuriy Tsibizov <yuriy tsibizov gfk ru>
|
|
|
|
| |
Obtained from: Juniper Networks
|
| |
|
| |
|
|
|
|
| |
Noticed by: das
|
| |
|
|
|
|
|
|
|
| |
for the convenience of rc.d. Now it has happily lived there for quite
a while. So move the pkill(1) source files from usr.bin to bin, too.
Approved by: gad
|
| |
|
|
|
|
|
|
|
| |
file with different permissions and set a non-zero umask
during the actual copy tests. The extra entry increases
the size of the test archives of course, so adjust the
expected sizes.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
backslash if he/she wants to use a non-traditional delimiter, i.e.,
anything other than a slash. That is, /abc/ works as is, but xabcx
needs to be spelled as \xabcx.
Add appropriate markup.
Bump Dd.
Checked with: IEEE Std 1003.1, 2004 Edition
MFC after: 3 days
|
|
|
|
|
|
| |
archive_write_disk.
Update cpio to use this to emit block counts in -p mode.
Update cpio tests to verify these block counts.
|
| |
|
| |
|
|
|
|
|
|
| |
problem reported by Kris Kennaway.
PR: bin/124924
|
|
|
|
| |
PR: bin/124924
|
|
|
|
|
|
|
|
|
|
| |
copying "dir/file" and then copying "dir" results in
"File on disk is not older; skipping" for the "dir" because
it was implicitly created by "dir/file." Among other sins,
this means that "dir" ends up with the wrong permissions
and ownership.
This is actually a libarchive bug; fix is forthcoming.
|
|
|
|
|
|
| |
The number of blocks read from ustar archives is just an implementation
difference. The failure of bsdcpio to emit a block count to stderr
in -p mode is a real bug in bsdcpio.
|
|
|
|
|
|
| |
following the archive structure. In particular, it no longer
crashes if you run it against GNU cpio 2.9 (although it does
still complain a lot more than it should).
|
|
|
|
| |
extraction.
|
| |
|
| |
|
|
|
|
| |
Fix the error uncovered by this test.
|
|
|
|
|
| |
There's no need to go through the hassle of having a checked-in uuencoded
reference file for comparison.
|
|
|
|
| |
Reviewed by: des
|
|
|
|
|
|
|
| |
This is easy to confuse with the actual exit status of the program.
Instead exit with EX_SOFTWARE if the command doesn't exit normally.
MFC after: 1 month
|
| |
|
|
|
|
|
|
|
| |
I would like to provide a way to preview the effects of pathname edits,
but pattern selection has to happen against the unedited path, so it
seems that we have to show people the unedited path to help in
designing selection patterns.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
if a user logged in more than a week ago.
This may contain multibyte characters (e.g. when using UTF-8).
This string is then aligned on byte-length rathern than char-length,
resulting in misalignment and unfinished multibyte characters.
PR: 126657
Submitted by: Johan van Selst <johans@stack.nl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The last half year I've been working on a replacement TTY layer for the
FreeBSD kernel. The new TTY layer was designed to improve the following:
- Improved driver model:
The old TTY layer has a driver model that is not abstract enough to
make it friendly to use. A good example is the output path, where the
device drivers directly access the output buffers. This means that an
in-kernel PPP implementation must always convert network buffers into
TTY buffers.
If a PPP implementation would be built on top of the new TTY layer
(still needs a hooks layer, though), it would allow the PPP
implementation to directly hand the data to the TTY driver.
- Improved hotplugging:
With the old TTY layer, it isn't entirely safe to destroy TTY's from
the system. This implementation has a two-step destructing design,
where the driver first abandons the TTY. After all threads have left
the TTY, the TTY layer calls a routine in the driver, which can be
used to free resources (unit numbers, etc).
The pts(4) driver also implements this feature, which means
posix_openpt() will now return PTY's that are created on the fly.
- Improved performance:
One of the major improvements is the per-TTY mutex, which is expected
to improve scalability when compared to the old Giant locking.
Another change is the unbuffered copying to userspace, which is both
used on TTY device nodes and PTY masters.
Upgrading should be quite straightforward. Unlike previous versions,
existing kernel configuration files do not need to be changed, except
when they reference device drivers that are listed in UPDATING.
Obtained from: //depot/projects/mpsafetty/...
Approved by: philip (ex-mentor)
Discussed: on the lists, at BSDCan, at the DevSummit
Sponsored by: Snow B.V., the Netherlands
dcons(4) fixed by: kan
|
|
|
|
|
|
| |
reference files to match the corresponding source.
MFC after: 3 days
|
|
|
|
|
|
|
| |
since the 'cp_time' symbol doesn't exist in recent kernels. This fixes
iostat and vmstat on crash dumps.
MFC after: 1 week
|
|
|
|
| |
it shouldn't be used.
|
|
|
|
|
|
|
|
|
| |
so that "./foo" matches "foo" (and vice versa).
This is related to PR bin/119141.
PR: bin/119141
MFC after: 4 days
|
|
|
|
|
|
|
|
| |
This aligns the pattern-matching behavior with GNU tar
and restores the behavior of bsdtar prior to FreeBSD 6.3.
PR: bin/117909
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
than linear relations. We can now convert degC to degF.
586 units, 56 prefixes
You have: 24 degC
You want: degF
75.2
You have: degC
You want: K
(-> x*1 +273.15)
(<- y*1 -273.15)
|
| |
|
|
|
|
| |
types correctly.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
During the import of the 4.4BSD Lite sources, four files got added to
the repository called :tt, :tty, :var and :ww. They seem to contain some
kind of debug information. These files aren't used/installed anywhere.
Unfortunately the colons in the filenames prevents us from checking out
the source tree on file systems that don't support colons (such as FAT).
Just remove these unneeded files to keep SVN happy.
Reported by: Rohit Tripathi <rohit trip gmail com>
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
- Add comments about the pegged currencies.
Submitted by: GeJ on #bsdports
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Merge changes from NetBSD and OpenBSD.
- Add the Euro as a primitive unit, add old converted currency and
pegged currency (Obtained from Wikipedia)
- Rename "dollar" to "usdollar" as primitive unit, remove non-pegged
currency and add pegged currency (Obtained from Wikipedia)
- Updated the accuracy of a lot of constants (Obtained from Wikipedia)
PR: bin/106545 bin/88252
Submitted by: trasz<trasz@pin.if.uz.zgora.pl>, J Vinopal <banshee@abattoir.com>
Approved by: bde@ (mentor)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
make them static.
usage() in calendar.c
event_*() in io.c
PR: bin/118644
Approved by: bde@ (mentor)
|
|
|
|
|
|
| |
PR: bin/118644
Approved by: bde@ (mentor)
MFC after: 1 week
|
|
|
|
|
|
| |
understand which code paths aren't possible.
Reported by: edwin
|
|
|
|
|
|
|
| |
stack>.
Found by: LLVM/Clang Static Checker
MFC after: 1 week
|
|
|
|
|
|
| |
more likely to have the right value. Remove superfluous assignments.
Found by: LLVM/Clang Static Checker
|
|
|
|
|
|
|
| |
understand which code paths aren't possible.
This commit eliminates 117 false positive bug reports of the form
"allocate memory; error out if pointer is NULL; use pointer".
|
|
|
|
|
|
| |
- ANSI'fy showrawquotas().
- Shut up GCC by initializing bgrace and igrace. The situation
that caused the GCC warning can never happen though.
|