-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[librpsecure] Whitelist statx() to fix amiiboc on armhf on Ubuntu 24.…
…04 and later. On armhf (glibc-2.39), amiiboc ends up calling statx() indirectly through the fgets() function: Program received signal SIGSYS, Bad system call. __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47 warning: 47 ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory (gdb) bt =0 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47 =1 0xb6d2ea0a in fstatat64_time64_statx (flag=4096, buf=0xbefff690, file=0xb6d91c18 "", fd=3) at ../sysdeps/unix/sysv/linux/fstatat64.c:50 =2 __GI___fstatat64_time64 (fd=3, file=0xb6d91c18 "", buf=0xbefff690, flag=4096) at ../sysdeps/unix/sysv/linux/fstatat64.c:150 =3 0xb6cdaae4 in __GI__IO_file_doallocate (fp=0x414f60) at libioP.h:1030 =4 0xb6ce5518 in __GI__IO_doallocbuf (fp=0x414f60) at libioP.h:1030 =5 __GI__IO_doallocbuf (fp=fp@entry=0x414f60) at genops.c:342 =6 0xb6ce3e86 in _IO_new_file_underflow (fp=0x414f60) at fileops.c:486 =7 0xb6ce557a in __GI__IO_default_uflow (fp=0x414f60) at libioP.h:1030 =8 0xb6cdc03e in __GI__IO_getline_info (fp=fp@entry=0x414f60, buf=buf@entry=0xbefff804 "ƀ㶫7\357Z\234\370\377\276\004\323\375\266\330\354\377\266\001", n=n@entry=255, delim=delim@entry=10, extract_delim=extract_delim@entry=1, eof=eof@entry=0x0) at iogetline.c:60 =9 0xb6cdc0c8 in __GI__IO_getline (fp=fp@entry=0x414f60, buf=buf@entry=0xbefff804 "ƀ㶫7\357Z\234\370\377\276\004\323\375\266\330\354\377\266\001", n=n@entry=255, delim=delim@entry=10, extract_delim=extract_delim@entry=1) at iogetline.c:34 =10 0xb6cdb288 in _IO_fgets ( buf=buf@entry=0xbefff804 "ƀ㶫7\357Z\234\370\377\276\004\323\375\266\330\354\377\266\001", n=n@entry=256, fp=fp@entry=0x414f60) at iofgets.c:53 =11 0x004019e8 in fgets (__stream=0x414f60, __n=256, __s=0xbefff804 "ƀ㶫7\357Z\234\370\377\276\004\323\375\266\330\354\377\266\001") at /usr/include/arm-linux-gnueabihf/bits/stdio2.h:200 =12 main (argc=<optimized out>, argv=0xbefffaa4) at rom-properties/src/amiibo-data/amiiboc.cpp:204
- Loading branch information
1 parent
8fabf32
commit b18306d
Showing
8 changed files
with
17 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
rom-properties (2.4-1ppa6~oracular5) oracular; urgency=medium | ||
|
||
* Add statx() to syscall whitelist to fix SIGSYS in amiiboc on armhf. | ||
|
||
-- David Korth <[email protected]> Tue, 12 Nov 2024 19:57:50 -0500 | ||
|
||
rom-properties (2.4-1ppa6~oracular4) oracular; urgency=medium | ||
|
||
* rom-properties-gtk4: Depend on libromdata5, not libromdata2. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters