Fix intersection with linux system call personality() 04/158704/2 accepted/tizen/base/20171110.163218 submit/tizen_base/20171108.010253 submit/tizen_base/20171113.061209
authorDmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
Tue, 17 Oct 2017 17:58:56 +0000 (20:58 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 2 Nov 2017 22:17:52 +0000 (22:17 +0000)
commitd2cf125ecf05a531f26a992c8ec02118b1739aff
treedcf7ca117265ddf2b9bb62c29808edde86eb7d27
parent689181659fc8c9d1404d80449b9184e219f6f0eb
Fix intersection with linux system call personality()

On ASan sanitized firmware testing we got segmentation fault
error in ps application.
Its source is in system call personality() and global variable
"personality" names intersection: It leaded to system call
pointer change and error after Its call.

This patch fixes the error by changeng intersected global
variable name to "_personality"

Change-Id: I8b3faee8db91457a1d1cc1c5e0fa9cc64e3e6d6f
Signed-off-by: Dmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
ps/common.h
ps/global.c
ps/parser.c
ps/select.c
ps/sortformat.c