Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | TODO: Update | Patrick McDermott | 2023-07-05 | 1 | -2/+7 |
| | |||||
* | opk/write: Fix memory leaks | Patrick McDermott | 2023-07-05 | 1 | -2/+2 |
| | | | | | | | | | | | | | opk->temp_file_name wasn't freed when either of the _opkg_opk_opk_build_inner_archive() calls failed. Fixes: Direct leak of 73 byte(s) in 1 object(s) allocated from: #0 0x7fde9c5c4d28 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1d28) #1 0x563aeebbc4e8 in opkg_opk_opk_write src/opk/write.c:512 #2 0x563aeebb4351 in main src/main.c:357 #3 0x7fde9bc5b2e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0) | ||||
* | mknod: Deduplicate error cleanup | Patrick McDermott | 2023-07-05 | 1 | -24/+16 |
| | |||||
* | tests: Check specials file contents | Patrick McDermott | 2023-07-05 | 1 | -1/+7 |
| | |||||
* | mknod: Find path relative to pkg data dir | Patrick McDermott | 2023-07-05 | 2 | -3/+25 |
| | | | | All tests now pass. | ||||
* | mknod: Improve layout of specials file | Patrick McDermott | 2023-07-05 | 1 | -2/+2 |
| | |||||
* | tests: Remove node placeholder | Patrick McDermott | 2023-07-05 | 1 | -1/+2 |
| | |||||
* | mknod: Fix default mode | Patrick McDermott | 2023-07-05 | 1 | -1/+1 |
| | |||||
* | mknod: Print system error strings | Patrick McDermott | 2023-07-05 | 2 | -9/+21 |
| | |||||
* | mknod: Fix specials file writing | Patrick McDermott | 2023-07-05 | 2 | -24/+24 |
| | |||||
* | mknod: Factor getenv()/execve()/etc. out of main() | Patrick McDermott | 2023-07-05 | 1 | -28/+38 |
| | |||||
* | mknod: Share one buffer between two strings | Patrick McDermott | 2023-07-05 | 1 | -17/+4 |
| | |||||
* | mknod: Don't exit on unknown option | Patrick McDermott | 2023-07-05 | 1 | -1/+0 |
| | |||||
* | mknod: Factor out error printing | Patrick McDermott | 2023-07-05 | 2 | -55/+47 |
| | |||||
* | mknod: Factor strtol() out of main() | Patrick McDermott | 2023-07-05 | 1 | -36/+44 |
| | |||||
* | tests/build: Test mknod | Patrick McDermott | 2023-06-27 | 4 | -6/+18 |
| | | | | Currently doesn't work. | ||||
* | helpers/mode: Fix "t" perm | Patrick McDermott | 2023-06-27 | 1 | -7/+23 |
| | | | | Well that's ugly. | ||||
* | tests/mode: Test "s" and "t" perms | Patrick McDermott | 2023-06-27 | 1 | -1/+5 |
| | |||||
* | helpers/mode: Fix permcopy shifts | Patrick McDermott | 2023-06-27 | 1 | -6/+6 |
| | |||||
* | tests/mode: Add more test cases | Patrick McDermott | 2023-06-27 | 1 | -2/+10 |
| | | | | permcopy is broken. | ||||
* | helpers/mode: Fix new mode initialization | Patrick McDermott | 2023-06-27 | 1 | -1/+1 |
| | |||||
* | tests: Test helpers/mode | Patrick McDermott | 2023-06-27 | 4 | -0/+63 |
| | |||||
* | mknod: Parse mode option argument | Patrick McDermott | 2023-06-27 | 1 | -1/+12 |
| | |||||
* | helpers/mode: Parse | Patrick McDermott | 2023-06-27 | 4 | -1/+330 |
| | |||||
* | TODO: Update | Patrick McDermott | 2023-06-26 | 1 | -2/+5 |
| | |||||
* | po: Update POTFILES.in | Patrick McDermott | 2023-06-26 | 1 | -1/+2 |
| | | | | git grep -l -- '[^_]_("' | ||||
* | main: Make globals static const | Patrick McDermott | 2023-06-26 | 1 | -4/+4 |
| | |||||
* | build: Install helpers under libexecdir | Patrick McDermott | 2023-06-26 | 2 | -1/+27 |
| | |||||
* | mknod: New helper utility | Patrick McDermott | 2023-06-26 | 4 | -1/+312 |
| | |||||
* | build: Check for mknod funcs, prog | Patrick McDermott | 2023-06-26 | 1 | -4/+32 |
| | | | | | calloc(), execve(), fdopen(), mkfifo(), open(), rename(), sleep(), and mknod | ||||
* | main: Report failure to read specials file | Patrick McDermott | 2023-06-19 | 1 | -1/+9 |
| | |||||
* | Fix license notices | Patrick McDermott | 2023-06-18 | 20 | -45/+45 |
| | |||||
* | specials.txt: Remove temporary example file | Patrick McDermott | 2023-06-17 | 1 | -3/+0 |
| | | | | Now available at tests/pkg/specials | ||||
* | README: Explain chown and mknod without privs | Patrick McDermott | 2023-06-17 | 1 | -4/+11 |
| | |||||
* | opk/read: Fix device number lengths | Patrick McDermott | 2023-06-17 | 1 | -0/+6 |
| | | | | log10(1) == 0 | ||||
* | tests: Test -s option | Patrick McDermott | 2023-06-17 | 1 | -8/+7 |
| | |||||
* | main: Add -s option | Patrick McDermott | 2023-06-17 | 1 | -2/+15 |
| | |||||
* | opk/write: Fix temporary archive file name buffer | Patrick McDermott | 2023-06-17 | 1 | -1/+1 |
| | |||||
* | Merge branch 'feature/test-suite' | Patrick McDermott | 2023-06-17 | 14 | -0/+1077 |
|\ | |||||
| * | tests: Verify contents of built package | Patrick McDermott | 2023-06-17 | 1 | -1/+22 |
| | | |||||
| * | tests: Add common functions (copied from opkbuild) | Patrick McDermott | 2023-06-17 | 2 | -1/+71 |
| | | |||||
| * | tests: Add package build test | Patrick McDermott | 2023-06-17 | 3 | -1/+38 |
| | | |||||
| * | tests: Make version test always return true | Patrick McDermott | 2023-06-17 | 1 | -0/+2 |
| | | |||||
| * | tests: Add package work area | Patrick McDermott | 2023-06-17 | 5 | -0/+14 |
| | | |||||
| * | tests: Add version output test | Patrick McDermott | 2023-06-17 | 2 | -1/+38 |
| | | |||||
| * | tests: Drop `set -x` | Patrick McDermott | 2023-06-17 | 1 | -2/+0 |
| | | |||||
| * | build: Add test framework | Patrick McDermott | 2023-06-17 | 6 | -0/+898 |
|/ | | | | | | | | build-aux/tap-driver.sh: https://git.savannah.gnu.org/cgit/automake.git/plain/lib/tap-driver.sh tests/aux/tap-functions.sh: https://git.savannah.gnu.org/cgit/automake.git/plain/t/ax/tap-functions.sh | ||||
* | opk/write: Handle specials overrides | Patrick McDermott | 2023-05-28 | 1 | -0/+22 |
| | |||||
* | opk/write: Simplify goto blocks | Patrick McDermott | 2023-05-28 | 1 | -39/+23 |
| | | | | Also fixes "warning: label ‘out0’ defined but not used". | ||||
* | opk/write: Fix path length handling, add virt path | Patrick McDermott | 2023-05-28 | 3 | -40/+47 |
| |