| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
PR: bin/61472
Submitted by: Alex Popa <razor@ldc.ro>
MFC after: 1 week
|
|
|
|
| |
Approved by: des (interim mentor)
|
|
|
|
| |
Approved by: blackend (mentor)
|
|
|
|
|
|
|
|
| |
instead of creating them by hand and storing them in the CVS tree. Add
gensnmptree to the bootstrap tools (it is used to generated these files).
This simplifies the update procedure.
Submitted by: ru
|
| |
|
|
|
|
| |
MFC after: 3 days
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Fix the script to insert $FreeBSD$ into the generated file instead
of the script's FreeBSD id.
|
| |
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
PR: misc/61336
Submitted by: Mike Hibler <mike@cs.utah.edu>
Approved by: rwatson (mentor)
|
| | |
|
| |
| |
| |
| | |
check for uio_resid < 0 here too.
|
| |
| |
| |
| |
| |
| | |
easy grep.
Small code reorganization to look more logic.
Copy ffs_write check from prev. commit to ffs_extwrite.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Replace wrong check returned EFBIG with EOVERFLOW handling from POSIX:
36708 [EOVERFLOW] The file is a regular file, nbyte is greater than 0, the
starting position is before the end-of-file, and the starting position is
greater than or equal to the offset maximum established in the open file
description associated with fildes.
ffs_write:
Replace u_int64_t cast with uoff_t cast which is more natural for types
used.
ffs_write & ffs_read:
Remove uio_offset and uio_resid checks for negative values, the caller
supposed to do it already. Add comments about it.
Reviewed by: bde
|
| |
| |
| |
| | |
Submitted by: Chris S.J. Peron <maneo@bsdpro.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
removing any existing contents.
PR: bin/61473
Submitted by: Alex Popa <razon@ldc.ro>
MFC after: 7 days
Approved by: rwatson (mentor)
|
| |
| |
| |
| |
| |
| |
| | |
taking lazy users on the arduous journey through SEE ALSO to fetch(3).
PR: docs/61759
Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
|
| |
| |
| |
| | |
Noticed by: Jun Kuriyama <kuriyama@imgsrc.co.jp>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
recwin and sendwin. This removes a big source of confusion and makes
following the code much easier.
Reviewed by: sam (mentor)
Obtained from: DragonFlyBSD rev 1.6 (hsu)
|
| |
| |
| |
| |
| |
| |
| | |
allocated.
Reviewed by: sam (mentor)
Obtained from: DragonFlyBSD rev 1.6 (hsu)
|
| |
| |
| |
| |
| |
| |
| | |
of malloc'ing it.
Reviewed by: sam (mentor)
Obtained from: DragonFlyBSD rev 1.6 (hsu)
|
| |
| |
| |
| | |
Sync usage with manpage.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Don't do tty stuff to stdin if stdin isn't a tty.
2. When running in non-interactive mode, don't select(2)
on the standard input.
This un-breaks non-interactive portupgrade.
PR: bin/59036 [1]
PR: bin/56166, bin/57414, ports/57415, ports/60534 [2]
MFC after: 7 days
Approved by: rwatson (mentor)
|
| |
| |
| |
| |
| |
| |
| | |
avoid killing itself.)
PR: bin/46107
Submitted by: stacey <stacey_@starwhack.net>
|
| |
| |
| |
| |
| |
| |
| | |
sense to "add path fd unhide" first.
Requested by: mtm
Approved by: rwatson (mentor)
|
| |
| |
| |
| | |
"Always print time_t as %jd, you never know what width it has"
|
| |
| |
| |
| |
| |
| |
| | |
context.
Submitted by: Marc Olzheim <marcolz@stack.nl>
Tested by: Marc Olzheim <marcolz@stack.nl>
|
| |
| |
| |
| |
| | |
PR: bin/61673
MFC after: 1 month
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
targets, have "distribution" always install original (as from the release
media) files, whether SENDMAIL_MC is set or not. Do error handling the
make(1) way.
Reviewed by: gshapiro
Approved by: gshapiro
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
rid's and to deallocate resources if a failure occurs during attach. This
patch also fixes the driver to return failure if bus_alloc_resource() for
the IRQ fails rather than panic'ing on the next line by passing a NULL
resource to bus_setup_intr(). The other attachments already do all this.
Submitted by: Jun Su <csujun@263.net>
|
| |
| |
| |
| | |
o Man pages
|
| |
| |
| |
| | |
Reported by: Stanford Metacompilation research group
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In case no real/physical IEEE 802 address is available, both the expired
"draft-leach-uuids-guids-01" (section "4. Node IDs when no IEEE 802
network card is available") and RFC 2518 (section "6.4.1 Node Field
Generation Without the IEEE 802 Address") recommend (quoted from RFC
2518):
"The ideal solution is to obtain a 47 bit cryptographic quality random
number, and use it as the low 47 bits of the node ID, with the _most_
significant bit of the first octet of the node ID set to 1. This bit
is the unicast/multicast bit, which will never be set in IEEE 802
addresses obtained from network cards; hence, there can never be a
conflict between UUIDs generated by machines with and without network
cards."
Unfortunately, this incorrectly explains how to implement this and
the FreeBSD UUID generator code inherited this generation bug from
the broken reference code in the standards draft. They should instead
specify the "_least_ significant bit of the first octet of the node ID"
as the multicast bit in a memory and hexadecimal string representation
of a 48-bit IEEE 802 MAC address.
This standards bug arised from a false interpretation, as the multicast
bit is actually the _most_ significant bit in IEEE 802.3 (Ethernet)
_transmission order_ of an IEEE 802 MAC address. The standards authors
forgot that the bitwise order of an _octet_ from a MAC address _memory_
and hexadecimal string representation is still always from left (MSB,
bit 7) to right (LSB, bit 0).
Fortunately, this UUID generation bug could have occurred on systems
without any Ethernet NICs only.
|
| |
| |
| |
| |
| |
| | |
imply -fstrict-aliasing.
Reviewed by: bde
|
| |
| |
| |
| |
| |
| | |
mounting.
Reminded by: bde
|
| |
| |
| |
| | |
- Removed redundant and undocumented NO_MAKEDB_RUN knob.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
return for getopt() and comparing to -1, ditto with fgetc() and EOF,
and using the kg_nice value from <sys/user.h>
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Reviewed by: obrien, bde (a while back)
Tested lightly on: ppc, i386, make universe
|
| |
| |
| |
| |
| |
| |
| |
| | |
no-op on {i386/alpha/ia64/sparc64} where chars are signed by
default. Should help ARM and S390 which also suffer from this.
Tested on: ppc, i386, objdump disasm before/after diffs
Reviewed by: obrien, bde (a while back)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
from log[10](largest file size), but when outputting in human-friendly
format the width is always at most 4. (eg. "123K", " 12K", "1.2K".)
PR: bin/59320
Approved by: rwatson (mentor)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. If fgets fails, don't go into an infinite cpu-intensive loop. Instead,
check to see if the terminal still exists, and sleep(1) otherwise.
2. When we check to see if the terminal still exists, make sure we're not
mislead by EINTR. This could have been a security issue, but fortunately
the current implementation of tcgetattr doesn't EINTR.
PR: bin/60758
Approved by: rwatson (mentor)
|
| |
| |
| |
| |
| | |
IFM_IEEE80211_ mode. Also ifconfig(8) must be recompiled.
Pointed out by Sam Leffeler.
|