Rewriting search_gid to use POSIX getgrnam_r
authorZbigniew Jasinski <z.jasinski@samsung.com>
Mon, 27 May 2013 13:10:02 +0000 (15:10 +0200)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Thu, 6 Feb 2014 16:09:36 +0000 (17:09 +0100)
commit987a0cd286a18308a275d924313bd2c25b954c83
tree6366e1a7e1e5d48a84d3256db5d2e3c7191dc9f7
parent8f7971a68a96ebaba5d3143f68c5cca35317c029
Rewriting search_gid to use POSIX getgrnam_r

[Issue#]       N/A
[Bug]          N/A
[Cause]        Instead of opening /etc/group and search for group name and ID we can
               use POSIX getgrnam_r
[Solution]     Rewriting function to use POSIX getgrnam_r.
[Verification] Build. Run all security-server tests.

Change-Id: Ia3591db1e11c013229ffd0a725697be797e0a2f1
src/server/security-server-main.c