Snippets for proot 5.4.0 from Alpine riscv64
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-riscv64/community/proot/proot-5.4.0-r2.log.
-
./execve/enter.c:529:9: warning: 'talloc_autofree_context' is deprecated [-Wdeprecated-declarations] 529 | loader_path = talloc_strdup(talloc_autofree_context(), path); | ^~~~~~~~~~~ -
./path/glue.c:76:9: warning: 'talloc_autofree_context' is deprecated [-Wdeprecated-declarations] 76 | autofreed = talloc_autofree_context(); | ^~~~~~~~~ -
./path/temp.c:41:9: warning: 'talloc_autofree_context' is deprecated [-Wdeprecated-declarations] 41 | temp_directory = talloc_strdup(talloc_autofree_context(), tmp); | ^~~~~~~~~~~~~~ -
./path/temp.c:292:17: warning: 'talloc_autofree_context' is deprecated [-Wdeprecated-declarations] 292 | context = talloc_autofree_context(); | ^~~~~~~ -
./cli/note.h:46:54: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'rlim_t' {aka 'long long unsigned int'} [-Wformat=] 46 | note(tracee, INFO, INTERNAL, (message), ## args); \ | ^~~~~~~~~ -
./ptrace/ptrace.c:419:25: warning: 'convert_user_regs_struct' accessing 4 bytes in a region of size 0 [-Wstringop-overflow=] 419 | convert_user_regs_struct(true, (uint64_t *) &buffer.regs, regs32); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
./extension/link2symlink/link2symlink.c:110:54: warning: '%04d' directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 110 | sprintf(new_intermediate, "%s%04d", intermediate, intermediate_suffix); | ^~~~