Searched hist:1.510 (Results 1 - 25 of 33) sorted by relevance
| /src/usr.bin/make/unit-tests/ | ||
| H A D | opt-file.mk | 1.8 Tue Dec 22 08:05:08 GMT 2020 rillig make(1): fix assertion failure for files without trailing newline Previously, mmapped files didn't always have the final newline added. Only those that ended at a page boundary did. This confused ParseRawLine, which assumed (and since parse.c 1.510 from moments ago also asserted) that every line ends with a newline, which allows the code to assume that after a backslash, there is at least one other character in the buffer, thereby preventing an out-of-bounds read. This bug had been there at least since parse.c 1.170 from 2010-12-25 04:57:07, maybe even earlier, I didn't check. Now line_end always points to the trailing newline, which allows ParseGetLine to overwrite that character to end the string. |
| H A D | opt-file.exp | 1.6 Tue Dec 22 08:05:08 GMT 2020 rillig make(1): fix assertion failure for files without trailing newline Previously, mmapped files didn't always have the final newline added. Only those that ended at a page boundary did. This confused ParseRawLine, which assumed (and since parse.c 1.510 from moments ago also asserted) that every line ends with a newline, which allows the code to assume that after a backslash, there is at least one other character in the buffer, thereby preventing an out-of-bounds read. This bug had been there at least since parse.c 1.170 from 2010-12-25 04:57:07, maybe even earlier, I didn't check. Now line_end always points to the trailing newline, which allows ParseGetLine to overwrite that character to end the string. |
| /src/distrib/notes/common/ | ||
| H A D | main | 1.510 Mon Mar 31 11:25:47 GMT 2014 martin branches: 1.510.4; Bring back the playstation2 port - now that a toolchain for it is available again. 1.510 Mon Mar 31 11:25:47 GMT 2014 martin branches: 1.510.4; Bring back the playstation2 port - now that a toolchain for it is available again. |
| /src/usr.bin/make/ | ||
| H A D | parse.c | 1.511 Tue Dec 22 08:05:08 GMT 2020 rillig make(1): fix assertion failure for files without trailing newline Previously, mmapped files didn't always have the final newline added. Only those that ended at a page boundary did. This confused ParseRawLine, which assumed (and since parse.c 1.510 from moments ago also asserted) that every line ends with a newline, which allows the code to assume that after a backslash, there is at least one other character in the buffer, thereby preventing an out-of-bounds read. This bug had been there at least since parse.c 1.170 from 2010-12-25 04:57:07, maybe even earlier, I didn't check. Now line_end always points to the trailing newline, which allows ParseGetLine to overwrite that character to end the string. 1.510 Tue Dec 22 06:48:33 GMT 2020 rillig make(1): prevent undefined behavior in loadfile_mmap Reading a file without a trailing newline had resulted in an out-of-bounds write, in the common case where the file is loaded via mmap. |
| H A D | job.c | 1.510 Sun May 18 07:02:00 GMT 2025 rillig make: clean up an error message and a debug message When adding a .WAIT dependency, use the common format "target: source" instead of the unusual "source -> target". |
| H A D | main.c | 1.510 Sat Jan 09 16:06:09 GMT 2021 rillig make(1): fix lint warnings |
| /src/sys/arch/i386/conf/ | ||
| H A D | ALL | 1.510 Sun Jul 16 10:20:07 GMT 2023 riastradh i386: Re-enable HEARTBEAT. |
| H A D | GENERIC | 1.510 Fri Sep 20 10:39:52 GMT 2002 martti Added (commented out) IPFILTER_DEFAULT_BLOCK. |
| /src/share/man/man4/ | ||
| H A D | options.4 | 1.510 Sat Apr 04 15:32:42 GMT 2020 jdolecek remove mount_smbfs(8)/nsmb(4) references |
| H A D | Makefile | 1.510 Sat Mar 06 21:05:36 GMT 2010 plunky Add uhso(4) driver and manpage for Option N.V. Wireless WAN modems |
| /src/sys/dev/usb/ | ||
| H A D | usbdevs | 1.510 Sat Sep 06 21:49:00 GMT 2008 rmind PR/37948: Yojiro UO: Support for Sony GPS GPS-CS1 devices. Check the support of UR_BBB_GET_MAX_LUN, and disable the logic, if needed. |
| H A D | usbdevs.h | 1.510 Fri Oct 10 23:53:19 GMT 2008 jakllsch regen |
| H A D | usbdevs_data.h | 1.510 Fri Oct 10 22:49:30 GMT 2008 jmcneill regen |
| /src/usr.bin/xlint/lint1/ | ||
| H A D | cgram.y | 1.510 Sat Sep 28 15:51:40 GMT 2024 rillig lint: handle __attribute__((__unused__)) for functions and variables Previously, lint ignored the '__unused' marker, requiring its own /* ARGSUSED */ marker instead. Previously, attributes were interpreted as soon as the closing parenthesis was parsed. For a function definition such as '__unused static void f(void) {}', this was too early, as the attribute was not connected to the function, as the function was not parsed yet. Now, the 'unused' attribute is passed around by the parser, until it is merged into the declarator where it belongs. Due to an inaccuracy in the grammar, the 'used' attribute has to be passed through a parameter_list, even though a parameter list is not related to attributes. Still, it's better than before. |
| H A D | tree.c | 1.510 Tue Apr 11 19:07:08 GMT 2023 rillig lint: fix wrong warning about overflow in floating constant expressions |
| /src/sys/kern/ | ||
| H A D | init_main.c | 1.510 Sat Dec 14 15:30:37 GMT 2019 ad Include radixtree in the kernel. |
| H A D | kern_exec.c | 1.510 Sun Oct 10 18:07:51 GMT 2021 thorpej Changes to make EVFILT_PROC MP-safe: Because the locking protocol around processes is somewhat complex compared to other events that can be posted on kqueues, introduce new functions for posting NOTE_EXEC, NOTE_EXIT, and NOTE_FORK, rather than just using the generic knote() function. These functions KASSERT() their locking expectations, and deal with other complexities for each situation. knote_proc_fork(), in particiular, needs to handle NOTE_TRACK, which requires allocation of a new knote to attach to the child process. We don't want to be allocating memory while holding the parent's p_lock. Furthermore, we also have to attach the tracking note to the child process, which means we have to acquire the child's p_lock. So, to handle all this, we introduce some additional synchronization infrastructure around the 'knote' structure: - Add the ability to mark a knote as being in a state of flux. Knotes in this state are guaranteed not to be detached/deleted, thus allowing a code path drop other locks after putting a knote in this state. - Code paths that wish to detach/delete a knote must first check if the knote is in-flux. If so, they must wait for it to quiesce. Because multiple threads of execution may attempt this concurrently, a mechanism exists for a single LWP to claim the detach responsibility; all other threads simply wait for the knote to disappear before they can make further progress. - When kqueue_scan() encounters an in-flux knote, it simply treats the situation just like encountering another thread's queue marker -- wait for the flux to settle and continue on. (The "in-flux knote" idea was inspired by FreeBSD, but this works differently from their implementation, as the two kqueue implementations have diverged quite a bit.) knote_proc_fork() uses this infrastructure to implement NOTE_TRACK like so: - Attempt to put the original tracking knote into a state of flux; if this fails (because the note has a detach pending), we skip all processing (the original process has lost interest, and we simply won the race). - Once the note is in-flux, drop the kq and forking process's locks, and allocate 2 knotes: one to post the NOTE_CHILD event, and one to attach a new NOTE_TRACK to the child process. Notably, we do NOT go through kqueue_register() to do this, but rather do all of the work directly and KASSERT() our assumptions; this allows us to directly control our interaction with locks. All memory allocations here are performed with KM_NOSLEEP, in order to prevent holding the original knote in-flux indefinitely. - Because the NOTE_TRACK use case adds knotes to kqueues through a sort of back-door mechanism, we must serialize with the closing of the destination kqueue's file descriptor, so steal another bit from the kq_count field to notify other threads that a kqueue is on its way out to prevent new knotes from being enqueued while the close path detaches them. In addition to fixing EVFILT_PROC's reliance on KERNEL_LOCK, this also fixes a long-standing bug whereby a NOTE_CHILD event could be dropped if the child process exited before the interested process received the NOTE_CHILD event (the same knote would be used to deliver the NOTE_EXIT event, and would clobber the NOTE_CHILD's 'data' field). Add a bunch of comments to explain what's going on in various critical sections, and sprinkle additional KASSERT()s to validate assumptions in several more locations. |
| /src/sys/net/ | ||
| H A D | if.c | 1.510 Fri Jul 29 15:19:30 GMT 2022 skrll KNF a comment |
| /src/sys/arch/amd64/conf/ | ||
| H A D | GENERIC | 1.510 Tue Dec 11 11:00:18 GMT 2018 maya disable nouveau. it hasn't been functional since the import of new drmkms code. |
| /src/sys/dev/pci/ | ||
| H A D | pcidevs.h | 1.510 Wed Feb 26 11:51:05 GMT 2003 salo Regen. |
| H A D | pcidevs_data.h | 1.510 Sun Mar 02 00:36:11 GMT 2003 salo Regen. |
| /src/sys/arch/i386/i386/ | ||
| H A D | machdep.c | 1.510 Sun Feb 09 13:03:38 GMT 2003 enami Fix the type of variable `mtrr_funcs' so that this file compiles again after constify. |
| /src/distrib/sets/lists/base/ | ||
| H A D | shl.mi | 1.510 Sat Dec 26 23:13:15 GMT 2009 christos sets for new bind. |
| /src/doc/ | ||
| H A D | 3RDPARTY | 1.510 Tue Feb 20 07:25:15 GMT 2007 wiz libevent-1.3a out. |
| /src/sys/sys/ | ||
| H A D | param.h | 1.510 Mon Nov 28 08:42:20 GMT 2016 mlelstv Extend dkdriver interface with a d_firstopen function. This is called by dk_open() for the first opener and mirrors the use of the d_lastclose callback. Bump kernel version for the interface change. |
Completed in 1158 milliseconds