Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib: further adoption of SPDX licensing ID tags. | Pedro F. Giffuni | 2017-11-26 | 1 | -0/+2 |
| | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. | ||||
* | Introduce the flopenat(3) function. | Mariusz Zaborski | 2017-08-04 | 1 | -8/+28 |
| | | | | | Reviewed by: des, emaste Differential Revision: https://reviews.freebsd.org/D11690 | ||||
* | Remove a death threat from the FreeBSD sources | Conrad Meyer | 2016-12-01 | 1 | -5/+9 |
| | | | | | Reported by: koobs@, araujo@, linimon@, bjk@, emaste@, jhb@, ngie@, cem@ Maintainer timeout: des@ | ||||
* | Add a warning against modifying this code without understanding it, and | Dag-Erling Smørgrav | 2016-11-24 | 1 | -0/+121 |
| | | | | | an example of how not to make it more portable. I've had this lying around uncommitted since 2009... | ||||
* | Create the altix project branch. The altix project will add support | Marcel Moolenaar | 2010-03-10 | 1 | -105/+0 |
| | | | | | | | for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD. | ||||
* | Revert (once again, and hopefully for the last time) to flock(2) locks. | Dag-Erling Smørgrav | 2009-06-06 | 1 | -8/+5 |
| | | | | | | The problem with fcntl(2) locks is that they are not inherited by child processes. This breaks pidfile(3), where the common idiom is to open and lock the PID file before daemonizing. | ||||
* | Diff reduction against Varnish, including one important fix: use a shared | Dag-Erling Smørgrav | 2008-10-20 | 1 | -12/+12 |
| | | | | lock if the file is opened with O_RDONLY. | ||||
* | Reimplement flopen(3) using fcntl(2) locks instead of flock(2) locks. | Dag-Erling Smørgrav | 2008-10-20 | 1 | -5/+7 |
| | |||||
* | Back out previous commit until I figure out why my regression test fails. | Dag-Erling Smørgrav | 2007-08-03 | 1 | -7/+4 |
| | | | | Approved by: re (kensmith) | ||||
* | Use fcntl(2)-style locks instead of less-portable flock(2)-style locks. | Dag-Erling Smørgrav | 2007-08-03 | 1 | -4/+7 |
| | | | | Approved by: re (kensmith) | ||||
* | Nit: avoid shadowing truncate(2) with a local variable. | Dag-Erling Smørgrav | 2007-05-23 | 1 | -3/+3 |
| | |||||
* | Fix stupid braino in previous commit. | Dag-Erling Smørgrav | 2007-05-23 | 1 | -1/+1 |
| | |||||
* | If (flags & O_TRUNC), don't truncate the file until we've successfully | Dag-Erling Smørgrav | 2007-05-23 | 1 | -1/+11 |
| | | | | | | locked it. MFC after: 3 weeks | ||||
* | Well gag me with a spoon... I'm so used to working at high WARNS levels | Dag-Erling Smørgrav | 2007-05-10 | 1 | -0/+4 |
| | | | | that I make stupid fundamental mistakes like this when I don't. | ||||
* | Remove superfluous unexpanded RCS tag. | Dag-Erling Smørgrav | 2007-05-10 | 1 | -2/+0 |
| | |||||
* | DTRT when O_NONBLOCK is specified. | Dag-Erling Smørgrav | 2007-05-10 | 1 | -4/+7 |
| | | | | MFC after: 3 weeks | ||||
* | I'm tired of seeing this done incorrectly and non-portably, so add a | Dag-Erling Smørgrav | 2007-05-10 | 1 | -0/+91 |
flopen(3) function which reliably opens and locks a file. MFC after: 3 weeks |