summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/makedevs/makedevs/makedevs.c
Commit message (Collapse)AuthorAgeFilesLines
* makedevs: Don't use COPYING.patch just to add license file into ${S}Martin Jansa2022-05-271-0/+4
| | | | | | | | | | | | * as it uses S = "${WORKDIR}" it's another possible reproducer for do_patch issue mentioned here: https://lists.yoctoproject.org/g/yocto/message/56602 (From OE-Core rev: 4d5c5af4dc69df39934fe54500b3dac2fb7b8ae7) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* makedevs: fix invalidScanfFormatWidth to prevent overflowing usr_bufFrazer Leslie Clews2019-10-311-1/+1
| | | | | | | | (From OE-Core rev: 33aefbf0fe62c5e49cac453a6e09e7b1cae60174) Signed-off-by: Frazer Leslie Clews <frazer.clews@codethink.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* makedevs: fix format strings in makedevs.c in print statementsFrazer Leslie Clews2019-10-311-4/+4
| | | | | | | | (From OE-Core rev: 5363fe01581e045ddd8e21934781b10cd3521365) Signed-off-by: Frazer Leslie Clews <frazer.clews@codethink.co.uk> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* makedevs: don't restrict device node paths to 40 charactersAndre McCurdy2016-09-161-1/+1
| | | | | | | | | | | | | | | | | | 40 character paths work OK for device nodes in /dev but not for device nodes created in a chroot, LXC container, etc. Since the 'path' array is already a 4k buffer, the sscanf 40 character limit seems to be a typo or historical mis-merge. Update the sscanf limit and bring the code in sync with the Buildroot version: https://git.buildroot.net/buildroot/commit/?id=8876b6751e0bc19a3754290061808f0f8420708e (From OE-Core rev: e8022d00c34e37300c1c06f712c7ced5e03d2a57) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* makedevs: fix security issuesEdwin Plauchu2016-05-191-4/+4
| | | | | | | | | | | | | This avoids makedevs failure to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9549] (From OE-Core rev: f6b0dd13ac90bb431bb51e0cbf1681a4d9fbea14) Signed-off-by: Edwin Plauchu <edwin.plauchu.camacho@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* makedevs: Add trace option and fix permissions on files if they already existHerb Kuta2013-12-101-0/+589
* update version to 1.0.1 (From OE-Core rev: ce460dd1b9c137b00d1142801b133c083ce55e74) Signed-off-by: Herb Kuta <herb.kuta@lge.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>