-
- Downloads
ipc/util.c: further variable name cleanups
The varable names got a mess, thus standardize them again: id: user space id. Called semid, shmid, msgid if the type is known. Most functions use "id" already. idx: "index" for the idr lookup Right now, some functions use lid, ipc_addid() already uses idx as the variable name. seq: sequence number, to avoid quick collisions of the user space id key: user space key, used for the rhash tree Link: http://lkml.kernel.org/r/20180712185241.4017-12-manfred@colorfullife.com Signed-off-by:Manfred Spraul <manfred@colorfullife.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: Davidlohr Bueso <dbueso@suse.de> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Kees Cook <keescook@chromium.org> Cc: Michael Kerrisk <mtk.manpages@gmail.com> Cc: Michal Hocko <mhocko@suse.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- include/linux/ipc_namespace.h 1 addition, 1 deletioninclude/linux/ipc_namespace.h
- ipc/msg.c 3 additions, 3 deletionsipc/msg.c
- ipc/sem.c 3 additions, 3 deletionsipc/sem.c
- ipc/shm.c 2 additions, 2 deletionsipc/shm.c
- ipc/util.c 13 additions, 13 deletionsipc/util.c
- ipc/util.h 5 additions, 5 deletionsipc/util.h
Loading
Please register or sign in to comment