blob: ea32d1c1a2f5194c58106066b51184dbf85a5a39 [file] [log] [blame]
#
# List of ABI symbols that we do not want to support in GKI
#
# This is a list of various kernel symbols that are exported but should
# not be added to any symbol list for GKI. The reason for why the
# symbol is not allowed is given here, so that vendors who try to add
# the symbol to their abi file see this rational here, and we do not
# have to say it in gerrit after the symbol is submitted for inclusion.
#
# These symbols are grouped according to functionality / subsystem when
# ever possible.
#
# The format of this file is:
# symbol <TAB> Reason for not allowing it
# File access symbols that are forbidden because drivers should never
# try to access files directly. Instead proper user/kernel apis should
# always be used.
filp_open Drivers should not open files directly
kernel_read Drivers should never read from a file
kernel_write Drivers should never write to a file
__close_fd Drivers should not close file descriptors
close_fd Drivers should not close file descriptors
# Kprobe needs to be left alone
disable_kprobe kprobe should not be touched by any driver
enable_kprobe kprobe should not be touched by any driver