diff options
author | Osama Muhammad <[email protected]> | 2023-06-07 20:36:00 +0500 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2023-07-24 09:00:42 -0600 |
commit | e0606daeaab4fba3cc418a202da81aa7a57c0342 (patch) | |
tree | 8db2464cf96d01355234bfe78a348dc45d787349 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 6eaae198076080886b9e7d57f4ae06fa782f90ef (diff) |
selftests: prctl: Add new prctl test for PR_SET_NAME
This patch will add the new test, which covers the prctl call
PR_SET_NAME command. The test tries to give a name using the PR_SET_NAME
call and then confirm it that it changed correctly by using PR_GET_NAME.
It also tries to rename it with empty name.In the test PR_GET_NAME is
tested by passing null pointer to it and check its behaviour.
Signed-off-by: Osama Muhammad <[email protected]>
Reviewed-by: Muhammad Usama Anjum <[email protected]>
Tested-by: Muhammad Usama Anjum <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions