diff options
| author | Po Lu | 2023-07-20 20:50:50 +0800 |
|---|---|---|
| committer | Po Lu | 2023-07-20 20:50:50 +0800 |
| commit | 916ef5748992216710f01d91c330e52042b279f1 (patch) | |
| tree | 511e2b074fc49e057eb0f85245133a22e9d7172b /exec | |
| parent | 1a9402b3c39313ed10729f9faa14e95a8682eaf0 (diff) | |
| download | emacs-916ef5748992216710f01d91c330e52042b279f1.tar.gz emacs-916ef5748992216710f01d91c330e52042b279f1.zip | |
Update Android port
* exec/trace.c (handle_readlinkat): Adjust commentary to match
behavior.
* src/android.c (android_get_keysym_name): NULL terminate
*name_return.
Diffstat (limited to 'exec')
| -rw-r--r-- | exec/trace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/exec/trace.c b/exec/trace.c index 23db8ebcbc7..3b384792d0a 100644 --- a/exec/trace.c +++ b/exec/trace.c | |||
| @@ -899,10 +899,10 @@ handle_exec (struct exec_tracee *tracee, USER_REGS_STRUCT *regs) | |||
| 899 | CALLNO is the system call number, and REGS are the current user | 899 | CALLNO is the system call number, and REGS are the current user |
| 900 | registers of the TRACEE. | 900 | registers of the TRACEE. |
| 901 | 901 | ||
| 902 | If the first argument of a `readlinkat' system call is AT_FDCWD, | 902 | If the file name specified in either a `readlink' or `readlinkat' |
| 903 | and the file name specified in either a `readlink' or `readlinkat' | ||
| 904 | system call is `/proc/self/exe', write the name of the executable | 903 | system call is `/proc/self/exe', write the name of the executable |
| 905 | being run into the buffer specified in the system call. | 904 | being run into the buffer specified in the system call. Do not |
| 905 | handle relative file names at the moment. | ||
| 906 | 906 | ||
| 907 | Return the number of bytes written to the tracee's buffer in | 907 | Return the number of bytes written to the tracee's buffer in |
| 908 | *RESULT. | 908 | *RESULT. |