diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-07-08 13:28:15 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-07-08 13:28:28 +0200 |
| commit | 5aa276efcbd67f4300ca1a7f809c6e00aadb03da (patch) | |
| tree | 9b8f0e074014cda8d42f5a97a95bc25082d8b764 /results/classifier/zero-shot-user-mode/output/instruction/579 | |
| parent | 1a3c4faf4e0a25ed0b86e8739d5319a634cb9112 (diff) | |
| download | emulator-bug-study-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.tar.gz emulator-bug-study-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.zip | |
restructure results
Diffstat (limited to 'results/classifier/zero-shot-user-mode/output/instruction/579')
| -rw-r--r-- | results/classifier/zero-shot-user-mode/output/instruction/579 | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/results/classifier/zero-shot-user-mode/output/instruction/579 b/results/classifier/zero-shot-user-mode/output/instruction/579 deleted file mode 100644 index 5958b921..00000000 --- a/results/classifier/zero-shot-user-mode/output/instruction/579 +++ /dev/null @@ -1,56 +0,0 @@ -instruction: 0.552 -runtime: 0.275 -syscall: 0.173 - - - -chown() fails when it should succeed in QEMU user mode on Linux/sparc64 -Description of problem: -The `chown()` function fails, instead of succeeding, in a particular situation. -Steps to reproduce: -[foo.c](/uploads/630d9b83671a071f4ded4da43b6c1b9b/foo.c) - -1. -``` -# apt install g++-10-sparc64-linux-gnu -# mkdir -p /usr/sparc64-linux-gnu/etc -# touch /usr/sparc64-linux-gnu/etc/ld.so.cache -``` -2. -``` -$ sparc64-linux-gnu-gcc-10 -Wall -static foo.c -``` -[a.out](/uploads/bbab43a1b78e6d16ee13e0eff5e963a5/a.out) - -3. Transfer the a.out file to a Linux/sparc64 machine; execute these commands there: -``` -$ id -``` -Verify that you are in 2 or more groups. -``` -$ touch file -$ ln -s file link -$ ln -s link link2 -$ ./a.out; echo $? -``` -It prints `0`. - -4. -``` -$ id -``` -Verify that you are in 2 or more groups. -``` -$ touch file -$ ln -s file link -$ ln -s link link2 -$ QEMU_LD_PREFIX=/usr/sparc64-linux-gnu ~/inst-qemu/6.1.0/bin/qemu-sparc64 ./a.out; echo $? -``` -Expected: `0` -Actual: -``` -chown: Operation not permitted -1 -``` -Additional information: - |
