linux-stable/drivers/misc/sgi-gru
Xiyu Yang 03acb0c5ac misc: sgi-gru: Convert from atomic_t to refcount_t on gru_thread_state->ts_refcnt
refcount_t type and corresponding API can protect refcounters from
accidental underflow and overflow and further use-after-free situations.

Acked-by: Dimitri Sivanich <sivanich@hpe.com>
Signed-off-by: Xiyu Yang <xiyuyang19@fudan.edu.cn>
Signed-off-by: Xin Tan <tanxin.ctf@gmail.com>
Link: https://lore.kernel.org/r/1626517043-42696-1-git-send-email-xiyuyang19@fudan.edu.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-21 13:50:54 +02:00
..
gru.h
gru_instructions.h
grufault.c misc/sgi-gru/grufault: use vma_lookup() in gru_find_vma() 2021-06-29 10:53:51 -07:00
grufile.c x86/platform/uv: Update Copyrights to conform to HPE standards 2020-10-07 09:10:07 +02:00
gruhandles.c x86/cpu: Relocate sync_core() to sync_core.h 2020-07-27 12:42:06 +02:00
gruhandles.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
grukdump.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
grukservices.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
grukservices.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
grulib.h misc: Replace zero-length array with flexible-array member 2020-03-18 12:24:19 +01:00
grumain.c misc: sgi-gru: Convert from atomic_t to refcount_t on gru_thread_state->ts_refcnt 2021-07-21 13:50:54 +02:00
gruprocfs.c proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
grutables.h misc: sgi-gru: Convert from atomic_t to refcount_t on gru_thread_state->ts_refcnt 2021-07-21 13:50:54 +02:00
grutlbpurge.c misc/sgi-gru: use mmu_notifier_get/put for struct gru_mm_struct 2019-08-16 12:02:59 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00