Snippets for proot 5.5.0 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/q63v3a1v87a7lr3xn5m4ymad1hvh571q-proot-5.5.0.drv.
-
./execve/enter.c:571:5: warning: 'talloc_autofree_context' is deprecated [-Wdeprecated-declarations] 571 | loader_path = talloc_strdup(talloc_autofree_context(), path); | ^~~~~~~~~~~ -
./execve/ldso.c:110:14: warning: variable 'is_known' set but not used [-Wunused-but-set-variable=] 110 | bool is_known = false; | ^~~~~~~~ -
./path/glue.c:75:5: warning: 'talloc_autofree_context' is deprecated [-Wdeprecated-declarations] 75 | autofreed = talloc_autofree_context(); | ^~~~~~~~~ -
./path/proc.c:101:25: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 101 | strncpy(result, string, status + 1); \ | ^~~~~~~ -
./path/temp.c:41:5: warning: 'talloc_autofree_context' is deprecated [-Wdeprecated-declarations] 41 | temp_directory = talloc_strdup(talloc_autofree_context(), tmp); | ^~~~~~~~~~~~~~ -
./path/temp.c:293:9: warning: 'talloc_autofree_context' is deprecated [-Wdeprecated-declarations] 293 | context = talloc_autofree_context(); | ^~~~~~~ -
./syscall/socket.c:154:5: warning: '__builtin_strncpy' output may be truncated copying 108 bytes from a string of length 4095 [-Wstringop-truncation] 154 | strncpy(sockaddr.sun_path, host_path, sizeof_path); | ^ -
./extension/kompat/kompat.c:999:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 999 | strncpy(config->utsname.release, string, length); | ^ -
./extension/link2symlink/link2symlink.c:229:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 229 | strncpy(new_final, final, strlen(final) - 4); | ^ -
./extension/link2symlink/link2symlink.c:230:53: warning: '%04d' directive output may be truncated writing between 4 and 10 bytes into a region of size 5 [-Wformat-truncation=] 230 | snprintf(new_final + strlen(final) - 4, 5, "%04d", link_count); | ^~~~ -
./extension/link2symlink/link2symlink.c:148:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 148 | strncpy(new_final, final, strlen(final) - 4); | ^ -
./loader/assembly-x86_64.h:32:9: warning: listing the stack pointer register 'rsp' in a clobber list is deprecated [-Wdeprecated] 32 | asm volatile ( \ | ^~~ -
./loader/assembly-x86.h:32:9: warning: listing the stack pointer register 'esp' in a clobber list is deprecated [-Wdeprecated] 32 | asm volatile ( \ | ^~~ -
./cli/proot.c:246:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 246 | write(1, &_binary_licenses_start, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~