OpenBSD CVS

CVS log for src/sys/dev/firmload.c


[BACK] Up to [local] / src / sys / dev

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 13 23:12:39 2018 UTC (5 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, HEAD
Changes since 1.15: +8 -5 lines
Diff to previous 1.15 (colored)

Instead of using BYPASSUNVEIL at NDINIT time, use KERNELPATH to indicate
we want to skip all userland-related checks.  Discussed with beck and
semarie, tested by stsp.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Aug 5 23:19:49 2018 UTC (5 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +3 -1 lines
Diff to previous 1.14 (colored)

ifconfig ioctl's that bring interfaces up the first time may issue
firmware loads.  The namei operations are being performed are on behalf
of the kernel not process, so use BYPASSUNVEIL.
spotted by sthen, ok beck

Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 29 04:46:28 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.13: +2 -3 lines
Diff to previous 1.13 (colored)

Remove NULL-checks before free().

ok tb@

Revision 1.13 / (download) - annotate - [select for diffs], Wed Aug 26 22:33:24 2015 UTC (8 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

two simple sizes to free()

Revision 1.12 / (download) - annotate - [select for diffs], Fri Mar 13 23:05:04 2015 UTC (9 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored)

some include files not needed; matthew markfort

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jul 12 18:48:17 2014 UTC (9 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 23 16:09:19 2011 UTC (13 years, 2 months ago) by marco
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

renegade tabs, no binary change

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 8 19:15:26 2008 UTC (16 years, 3 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.8: +14 -1 lines
Diff to previous 1.8 (colored)

look for firmload on /mnt/etc/firmware as well, only for ramdisks.
okay deraadt@

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 27 03:51:29 2006 UTC (17 years, 11 months ago) by pedro
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Pass process credentials to VOP_READ(), making it possible to load
firmwares over NFS, okay deraadt@

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jan 19 17:49:50 2006 UTC (18 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.6: +6 -2 lines
Diff to previous 1.6 (colored)

ENAMETOOLONG if path too long; ok miod pedro

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 9 18:26:08 2006 UTC (18 years, 5 months ago) by pedro
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Make sure the vnode being read is a file, okay dlg@ deraadt@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 1 08:15:02 2005 UTC (18 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.4: +11 -5 lines
Diff to previous 1.4 (colored)

allocate path using malloc, not as local variable; ok dlg pascoe

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 28 01:17:19 2005 UTC (19 years, 3 months ago) by pat
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored)

Don't bother trying to load an empty firmware file.

ok deraadt

Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 17 16:16:09 2004 UTC (19 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

oops, spotted by pat as always

Revision 1.2 / (download) - annotate - [select for diffs], Wed Nov 17 15:14:57 2004 UTC (19 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

typo, spotted by pedro

Revision 1.1 / (download) - annotate - [select for diffs], Wed Nov 17 14:12:59 2004 UTC (19 years, 6 months ago) by deraadt
Branch: MAIN

firmware loading; ok pedro tedu dlg miod

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.