Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\string.c Create Date:2022-07-28 07:27:05
Last Modify:2022-05-21 21:56:45 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:strlen - Find the length of a string*@s: The string to be sized

Proto:size_t strlen(const char *s)

Type:size_t

Parameter:

TypeParameterName
const char *s
162  When sc != '\0' cycle Return sc - s
Caller
NameDescribe
strlcatstrlcat - Append a length-limited, C-string to another*@dest: The string to be appended to*@src: The string to append to it*@count: The size of the destination buffer.
strimstrim - Removes leading and trailing whitespace from @s.*@s: The string to be stripped.* Note that the first trailing whitespace is replaced with a %NUL-terminator* in the given string @s. Returns a pointer to the first non-whitespace* character in @s.
strnstrstrnstr - Find the first substring in a length-limited string*@s1: The string to be searched*@s2: The string to search for*@len: the maximum number of characters to search
bdev_name
parse_option_strparse_option_str - Parse a string and check an option is set or not*@str: String to be parsed*@option: option name* This function parses a string containing a comma-separated list of* strings like a=b,c.
alloc_uevent_skb
zap_modalias_env
find_cpio_datapio_data find_cpio_data - Search for files in an uncompressed cpio*@path: The directory to search for, including a slash at the end*@data: Pointer to the the cpio archive or a header inside*@len: Remaining length of the cpio based on data
seq_buf_putsseq_buf_puts - sequence printing of simple string*@s: seq_buf descriptor*@str: simple string to record* Copy a simple string into the sequence buffer.* Returns zero on success, -1 on overflow
get_kobj_path_length
fill_kobj_path
kobject_renamekobject_rename() - Change the name of an object
kobject_movekobject_move() - Move object to another parent.*@kobj: object in question.*@new_parent: object's new parent (can be NULL)
match_onematch_one: - Determines if a string matches a simple pattern*@s: the string to examine for presence of the pattern*@p: the string containing the pattern*@args: array of %MAX_OPT_ARGS &substring_t elements. Used to return match* locations.
strchr_selftest
strnchr_selftest
kstrdup_quotableReturn an allocated string that has been escaped of special characters* and double quotes, making it safe to log in quotes.
test_string_unescape
test_string_escape
test_string_get_size_check
test_hexdump_prepare_test
__test_firmware_config_init
kasan_strings
__test_bitmap_parselist
trigger_config_run_type
__kmod_config_init
crc_t10dif_rehash
trim_prefixReturn the path relative to source root
vpr_info_dq
ddebug_setup_query
dynamic_debug_init
nla_strcmpla_strcmp - Compare a string attribute against a string*@nla: netlink string attribute*@str: another string
glob_init
mac_pton
strstrstrstr - Find the first substring in a %NUL terminated string*@s1: The string to be searched*@s2: The string to search for
match_option
mtrr_writeseq_file can seek but we ignore it.* Format of control line:* "base=%Lx size=%Lx type=%s" or "disable=%d"
rdt_init_paddingChoose a width for the resource name and resource data based on the* resource that has widest name and cbm.
_proc_do_string/proc/sys support
proc_put_longproc_put_long - converts an integer to a decimal ASCII formatted string*@buf: the user buffer*@size: the size of the user buffer*@val: the integer to be converted*@neg: sign of the number, %TRUE for negative* In case of success %0 is returned and @buf and
SYSCALL_DEFINE2
call_usermodehelper_execall_usermodehelper_exec - start a usermode application*@sub_info: information about the subprocessa*@wait: wait for the application to finish and return status.* when UMH_NO_WAIT don't wait at all, but you get no useful error back
parameq
param_set_charp
param_set_copystring
set_security_override_from_ctxset_security_override_from_ctx - Set the security ID in a set of credentials*@new: The credentials to alter*@secctx: The LSM security context to generate the security ID from.* Set the LSM security ID in a set of credentials so that the subjective
software_resumesoftware_resume - Resume from a saved hibernation image.* This routine is called as a late initcall, when all devices have been* discovered and initialized already.* The image reading code is called to see if there is a hibernation image
disk_store
pm_wake_unlock
truncate_msg
printk_safe_flush_bufferprintk part of the temporary buffer line by line
__printk_safe_flushFlush data from the associated per-CPU buffer. The function* can be called either via IRQ work or independently.
klp_init_func
klp_init_object
profile_setup
__clocksource_select
find_module_allSearch for module by name: must hold module_mutex (or preempt disabled* for read-only access).
find_module
get_next_modinfo
blacklisted
finished_loadingIs this module of this name done loading? No locks held.
add_unformed_moduleWe try to place it in the list now to make sure it's unique before* we dedicate too many resources. In particular, temporary percpu* memory exhaustion.
__sprint_symbolLook up a kernel symbol and return it in a text buffer.
parse_crashkernel_suffixThat function parses "suffix" crashkernel command lines like* crashkernel=size,[high|low]* It returns 0 on success and -EINVAL on failure.
get_last_crashkernel
__parse_crashkernel
append_elf_note
cgroup_init_earlygroup_init_early - cgroup initialization at system boot* Initialize cgroups at system boot, and initialize any* subsystems that request early init.
proc_cgroup_showproc_cgroup_show()* - Print task's cgroup paths into seq_file, one line for each hierarchy* - Used for /proc//cgroup.
cgroup1_show_options
parse_resource
audit_log_untrustedstringaudit_log_untrustedstring - log a string that may contain random characters*@ab: audit_buffer*@string: string to be logged* Same as audit_log_n_untrustedstring(), except that strlen is used to* determine string length.
audit_pack_stringPack a filter field's string representation into data block.
parent_lenparent_len - find the length of the parent portion of a pathname*@path: pathname of which to determine length
audit_compare_dname_pathaudit_compare_dname_path - compare given dentry name with last component in* given path. Return of 0 indicates a match.*@dname: dentry name that we're comparing*@path: full pathname that we're comparing*@parentlen: length of the parent if known
audit_log_proctitle
audit_dupe_exe
alloc_tree
get_link_targetConstruct a string representing the symbolic link target for the given* gcov data file name and link type. Depending on the link type and the* location of the data file, the link target can either point to a
new_nodeCreate a new node and associated debugfs entry. Needs to be called with* node_lock held.
gdbstub_msg_write
gdb_cmd_queryHandle the 'q' query packets
gdb_serial_stubThis function performs all gdbserial command procesing
gdbstub_state
kgdb_transition_check
kdb_readkdb_read* This function reads a string of characters, terminated by* a newline, or by reaching the end of the supplied buffer,* from the current kernel debugger console device.* Parameters:* Returns:* Returns a pointer to the buffer containing the received
kdb_search_stringsearch arg1 to see if it contains arg2* (kdmain.c provides flags for ^pat and pat$)* return 1 for found, 0 for not found
vkdb_printf
kdbgetenvkdbgetenv - This function will return the character string value of* an environment variable.* Parameters:* match A character string representing an environment variable.* Returns:* NULL No environment variable matches 'match'
kdbgetulenvkdbgetulenv - This function will return the value of an unsigned* long-valued environment variable.* Parameters:* match A character string representing a numeric value* Outputs:* *value the unsigned long represntation of the env variable 'match'* Returns:
kdb_setkdb_set - This function implements the 'set' command. Alter an* existing environment variable or create a new one.
kdb_defcmd
parse_grepThe "str" argument may point to something like | grep xyz
kdb_parse
drop_newline
kdb_localkdb_local - The main code for kdb
kdb_helpkdb_help - This function implements the 'help' and '?' commands.
kallsyms_symbol_completekallsyms_symbol_complete* Parameters:* prefix_name prefix of a symbol name to lookup* max_len maximum length that can be returned* Returns:* Number of symbols which match the given prefix
kallsyms_symbol_nextkallsyms_symbol_next* Parameters:* prefix_name prefix of a symbol name to lookup* flag 0 means search from the head, 1 means continue search.* buf_size maximum length that can be written to prefix_name* buffer* Returns:
kdb_strdupkdb_strdup - kdb equivalent of strdup, for disasm code.* Inputs:* str The string to duplicate.* type Flags to kmalloc for the new string.* Returns:* Address of the new string, NULL if storage could not be allocated.* Remarks:* This is not in lib/string
register_tracergister_tracer - register a tracer with the ftrace system.*@type: the plugin for the tracer* Register a new plugin tracer.
trace_set_options
tracing_readme_read
err_pos_pos - find the position of a string within a command for error careting*@cmd: The tracing command that caused the error*@str: The string to position the caret at within @cmd* Finds the position of the first occurence of @str within @cmd
trace_parse_run_command
trace_seq_putsrace_seq_puts - trace sequence printing of simple string*@s: trace sequence descriptor*@str: simple string to record* The tracer may use either the sequence operations or its own* copy to user routines
hold_module_trace_bprintk_format
print_graph_proc
trace_print_graph_duration
branch_stat_process_file
ftrace_set_clr_event
event_enable_read
eval_replace
update_event_printk
filter_pred_pcharFilter predicate for char * pointers
filter_build_regex
append_filter_err
parse_predCalled when a predicate is encountered by predicate_parse()
event_trigger_callbackvent_trigger_callback - Generic event_command @func implementation*@cmd_ops: The command ops, used for trigger registration*@file: The trace_event_file associated with the event*@glob: The raw string used to register the trigger*@cmd: The cmd portion of
set_trigger_filterset_trigger_filter - Generic event_command @set_filter implementation*@filter_str: The filter string for the trigger, NULL to remove filter*@trigger_data: Trigger-specific data*@file: The trace_event_file associated with the event* Common implementation
event_enable_trigger_func
parse_entryCaller is responsible to free the *pentry.
parse_synth_field
parse_hist_trigger_attrs
is_var_ref
parse_action_params
add_to_key
event_hist_trigger_func
trace_kprobe_within_module
trace_kprobe_create
__trace_probe_log_err
traceprobe_parse_event_name@buf must has MAX_EVENT_NAME_LEN size
__parse_imm_string
parse_probe_argRecursive argument parser
traceprobe_parse_probe_arg_bodyString length checking wrapper
fetch_store_strlenReturn the length of string -- including null terminal byte
trace_uprobe_match_command_head
trace_uprobe_create
bpf_task_fd_query_copy
perf_event_comm_event
perf_event_mmap_event
perf_event_ksymbol
repair_env_stringChange NUL term back to "=", to make "param" the whole string.
setup_command_lineWe need to store the untouched command line for future reference.* We also need to store the touched command line since the parameter* parsing is performed in place, and we should allow a component to* store reference of name/value for future reference.
start_kernel
devt_from_partuuiddevt_from_partuuid - looks up the dev_t of a partition by its UUID*@uuid_str: char array containing ascii UUID* The function will return the first partition which contains a matching* UUID value in its partition_meta_info struct. This does not search
name_to_dev_tConvert a name into device number
mount_block_root
raid_setup
tokenize_frame_descr
do_mq_open
SYSCALL_DEFINE1
add_partitionMust be called either with bd_mutex held, before a disk can be opened or* after all disk users are gone.
check_partition
key_create_or_updatekey_create_or_update - Update or create and instantiate a key.*@keyring_ref: A pointer to the destination keyring with possession flag.*@type: The type of key.*@description: The searchable description for the key.
keyring_searchkeyring_search - Search the supplied keyring tree for a matching key*@keyring: The root of the keyring tree to be searched
SYSCALL_DEFINE4Search the process keyrings and keyring trees linked from those for a* matching key. Keyrings must have appropriate Search permission to be* searched.* If a key is found, it will be attached to the destination keyring if there's
keyctl_describe_keyReturn a description of a key to userspace
request_key_and_linkquest_key_and_link - Request a key and cache it in a keyring.*@type: The type of key we want.*@description: The searchable description of the key.*@domain_tag: The domain in which the key operates.
request_key_tagquest_key_tag - Request a key and wait for construction*@type: Type of key
request_key_rcuquest_key_rcu - Request key from RCU-read-locked context*@type: The type of key we want.*@description: The name of the key we want.*@domain_tag: The domain in which the key operates.* Request a key from a context that we may not sleep in (such as RCU-mode
getoptionsan have zero or more token= options
datablob_parsedatablob_parse - parse the keyctl data and fill in the* payload and options structures* On success returns 0, otherwise -EINVAL.
valid_ecryptfs_descvalid_ecryptfs_desc - verify the description of a new/loaded encrypted key* The description of a encrypted key with format 'ecryptfs' must contain* exactly 16 hexadecimal characters.
get_derived_keyDerive authentication/encryption key from trusted key
datablob_hmac_verifyverify HMAC before decrypting encrypted key
encrypted_key_allocAllocate memory for decrypted key and datablob.
encrypted_key_decrypt
__ekey_init
securityfs_create_dentrysecurityfs_create_dentry - create a dentry in the securityfs filesystem*@name: a pointer to a string containing the name of the file to create.*@mode: the permission that the file should have*@parent: a pointer to the parent dentry for this file
lsm_read
smack_sb_eat_lsm_opts
smack_inode_init_securitysmack_inode_init_security - copy out the smack from an inode*@inode: the newly created inode*@dir: containing directory object*@qstr: unused*@name: where to put the attribute name*@value: where to put the attribute value*@len: where to put the length of
smack_inode_getsecuritysmack_inode_getsecurity - get smack xattrs*@inode: the object*@name: attribute name*@buffer: where to put the result*@alloc: duplicate memory* Returns the size of the attribute or an error code
smack_getprocattrsmack_getprocattr - Smack process attribute access*@p: the object task*@name: the name of the attribute in /proc/.../attr*@value: where to put the result* Places a copy of the task Smack into value* Returns the length of the smack label or an error code
smack_socket_getpeersec_streamsmack_socket_getpeersec_stream - pull in packet label*@sock: the socket*@optval: user's destination*@optlen: size thereof*@len: max thereof* returns zero on success, an error code otherwise
smack_key_getsecuritysmack_key_getsecurity - Smack label tagging the key*@key points to the key to be queried*@_buffer points to a pointer that should be set to point to the* resulting string (if no label or an error occurs)
smack_secid_to_secctxsmack_secid_to_secctx - return the smack label for a secid*@secid: incoming integer*@secdata: destination*@seclen: how long it is* Exists for networking code.
smack_inode_getsecctx
smk_insert_entrysmk_insert_entry - insert a smack label into a hash map,* this function must be called under smack_known_lock
smk_find_entrysmk_find_entry - find a label on the list, return the list entry*@string: a text string that might be a Smack label* Returns a pointer to the entry in the label list that* matches the passed string or NULL if not found.
smk_parse_smacksmk_parse_smack - parse smack label from a text string*@string: a text string that might contain a Smack label*@len: the maximum size, or zero if it is NULL terminated.* Returns a pointer to the clean label or an error code.
smk_import_entrysmk_import_entry - import a label, return the list entry*@string: a text string that might be a Smack label*@len: the maximum size, or zero if it is NULL terminated
smk_rule_show
cipso_seq_showPrint cipso labels in format:* label level[/cat[,cat]]
smk_set_cipsosmk_set_cipso - do the work for write() for cipso and cipso2*@file: file pointer, not actually used*@buf: where to get the data from*@count: bytes sent*@ppos: where to start*@format: /smack/cipso or /smack/cipso2
smk_read_doismk_read_doi - read() for /smack/doi*@filp: file pointer, not actually used*@buf: where to put the result*@count: maximum to send along*@ppos: where to start* Returns number of bytes read or error code, as appropriate
smk_read_directsmk_read_direct - read() for /smack/direct*@filp: file pointer, not actually used*@buf: where to put the result*@count: maximum to send along*@ppos: where to start* Returns number of bytes read or error code, as appropriate
smk_read_mappedsmk_read_mapped - read() for /smack/mapped*@filp: file pointer, not actually used*@buf: where to put the result*@count: maximum to send along*@ppos: where to start* Returns number of bytes read or error code, as appropriate
smk_read_ambientsmk_read_ambient - read() for /smack/ambient*@filp: file pointer, not actually used*@buf: where to put the result*@cn: maximum to send along*@ppos: where to start* Returns number of bytes read or error code, as appropriate
smk_read_loggingsmk_read_logging - read() for /smack/logging*@filp: file pointer, not actually used*@buf: where to put the result*@cn: maximum to send along*@ppos: where to start* Returns number of bytes read or error code, as appropriate
smk_read_syslogsmk_read_syslog - read() for smackfs/syslog*@filp: file pointer, not actually used*@buf: where to put the result*@cn: maximum to send along*@ppos: where to start* Returns number of bytes read or error code, as appropriate
smk_read_ptracesmk_read_ptrace - read() for /smack/ptrace*@filp: file pointer, not actually used*@buf: where to put the result*@count: maximum to send along*@ppos: where to start* Returns number of bytes read or error code, as appropriate
smk_preset_netlabel
tomoyo_init_logmoyo_init_log - Allocate buffer for audit logs
tomoyo_write_log2moyo_write_log2 - Write an audit log.*@r: Pointer to "struct tomoyo_request_info".*@len: Buffer size needed for @fmt and @args.*@fmt: The printf()'s format string.*@args: va_list structure for @fmt.* Returns nothing.
tomoyo_addprintfmoyo_addprintf - strncat()-like-snprintf().*@buffer: Buffer to write to. Must be '\0'-terminated.*@len: Size of @buffer.*@fmt: The printf()'s format string, followed by parameters.* Returns nothing.
tomoyo_flushmoyo_flush - Flush queued string to userspace's buffer.*@head: Pointer to "struct tomoyo_io_buffer".* Returns true if all data was flushed, false otherwise.
tomoyo_find_yesnomoyo_find_yesno - Find values for specified keyword.*@string: String to check.*@find: Name of keyword.* Returns 1 if "@find=yes" was found, 0 if "@find=no" was found, -1 otherwise.
tomoyo_set_uintmoyo_set_uint - Set value for specified preference.*@i: Pointer to "unsigned int".*@string: String to check.*@find: Name of keyword.* Returns nothing.
tomoyo_set_modemoyo_set_mode - Set mode for specified profile.*@name: Name of functionality.*@value: Mode for @name.*@profile: Pointer to "struct tomoyo_profile".* Returns 0 on success, negative value otherwise.
tomoyo_write_domainmoyo_write_domain - Write domain policy.*@head: Pointer to "struct tomoyo_io_buffer".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
tomoyo_truncatemoyo_truncate - Truncate a line.*@str: String to truncate.* Returns length of truncated @str.
tomoyo_add_entrymoyo_add_entry - Add an ACL to current thread's domain. Used by learning mode.*@domain: Pointer to "struct tomoyo_domain_info".*@header: Lines containing ACL.* Returns nothing.
tomoyo_supervisormoyo_supervisor - Ask for the supervisor's decision
tomoyo_parse_policymoyo_parse_policy - Parse a policy line.*@head: Poiter to "struct tomoyo_io_buffer".*@line: Line to parse.* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
tomoyo_get_dqwordmoyo_get_dqword - tomoyo_get_name() for a quoted string.*@start: String to save.* Returns pointer to "struct tomoyo_path_info" on success, NULL otherwise.
tomoyo_parse_envpmoyo_parse_envp - Parse an envp[] condition part.*@left: Lefthand value.*@right: Righthand value.*@envp: Pointer to "struct tomoyo_envp".* Returns true on success, false otherwise.
tomoyo_get_conditionmoyo_get_condition - Parse condition part.*@param: Pointer to "struct tomoyo_acl_param".* Returns pointer to "struct tomoyo_condition" on success, NULL otherwise.
tomoyo_namespace_jumpmoyo_namespace_jump - Check for namespace jump.*@domainname: Name of domain.* Returns true if namespace differs, false otherwise.
tomoyo_assign_domainmoyo_assign_domain - Create a domain or a namespace.*@domainname: The name of domain.*@transit: True if transit to domain found or created.* Returns pointer to "struct tomoyo_domain_info" on success, NULL otherwise.* Caller holds tomoyo_read_lock().
tomoyo_name_used_by_io_buffermoyo_name_used_by_io_buffer - Check whether the string is used by /sys/kernel/security/tomoyo/ users or not.*@string: String to check.* Returns true if @string is used by /sys/kernel/security/tomoyo/ users,* false otherwise.
tomoyo_get_namemoyo_get_name - Allocate permanent memory for string data.*@name: The string to store into the permernent memory.* Returns pointer to "struct tomoyo_path_info" on success, NULL otherwise.
tomoyo_audit_inet_logmoyo_audit_inet_log - Audit INET network log.*@r: Pointer to "struct tomoyo_request_info".* Returns 0 on success, negative value otherwise.
tomoyo_encodemoyo_encode - Encode binary string to ascii string.*@str: String in binary format.* Returns pointer to @str in ascii format on success, NULL otherwise.* This function uses kzalloc(), so caller must kfree() if this function* didn't return NULL.
tomoyo_get_local_pathmoyo_get_local_path - Get the path of a dentry.*@dentry: Pointer to "struct dentry".*@buffer: Pointer to buffer to return value in.*@buflen: Sizeof @buffer.* Returns the buffer on success, an error code otherwise.
tomoyo_read_selfmoyo_read_self - read() for /sys/kernel/security/tomoyo/self_domain interface.*@file: Pointer to "struct file".*@buf: Domainname which current thread belongs to.*@count: Size of @buf.*@ppos: Bytes read by now.
tomoyo_read_tokenmoyo_read_token - Read a word from a line.*@param: Pointer to "struct tomoyo_acl_param".* Returns a word on success, "" otherwise.* To allow the caller to skip NULL check, this function returns "" rather than* NULL if there is no more words to read.
tomoyo_str_startsmoyo_str_starts - Check whether the given string starts with the given keyword
tomoyo_correct_wordmoyo_correct_word - Validate a string.*@string: The string to check.* Check whether the given string follows the naming rules.* Returns true if @string follows the naming rules, false otherwise.
tomoyo_domain_defmoyo_domain_def - Check whether the given token can be a domainname.*@buffer: The token to check.* Returns true if @buffer possibly be a domainname, false otherwise.
tomoyo_fill_path_infomoyo_fill_path_info - Fill in "struct tomoyo_path_info" members.*@ptr: Pointer to "struct tomoyo_path_info" to fill in.* The caller sets "struct tomoyo_path_info"->name.
tomoyo_path_matches_pattern2moyo_path_matches_pattern2 - Do pathname pattern matching.*@f: The start of string to check.*@p: The start of pattern to compare.* Returns true if @f matches @p, false otherwise.
aafs_createaafs_create - create a dentry in the apparmorfs filesystem*@name: name of dentry to create*@mode: permissions the file should have*@parent: parent directory for this dentry*@data: data to store on inode
gen_symlink_name
aa_mk_null_file
aa_perm_mask_to_straa_perm_mask_to_str - convert a perm mask to its short string*@str: character buffer to store string in (at least 10 characters)*@str_size: size of the @str buffer*@chrs: NUL-terminated character buffer of permission characters*@mask: permission mask to
aa_policy_initaa_policy_init - initialize a policy structure*@policy: policy to initialize (NOT NULL)*@prefix: prefix name if any is required
disconnectIf the path is not connected to the expected root,* check if it is a sysctl and handle specially else remove any* leading / that __d_path may have returned
__find_child__find_child - find a profile on @head list with a name matching @name*@head: list to search (NOT NULL)*@name: name of profile (NOT NULL)* Requires: rcu_read_lock be held* Returns: unrefcounted profile ptr, or NULL if not found
__lookup_profile
aa_lookup_profile
aa_new_null_profileaa_new_null_profile - create or find a null-X learning profile*@parent: profile that caused this profile to be created (NOT NULL)*@hat: true if the null- learning profile is a hat*@base: name to base the null profile off of*@gfp: type of allocation
strhash
unpack_profilepack_profile - unpack a serialized profile*@e: serialized data extent information (NOT NULL)* NOTE: unpack profile sets audit struct if there is a failure
aa_setprocattr_changehataa_setprocattr_chagnehat - handle procattr interface to change_hat*@args: args received from writing to /proc//attr/current (NOT NULL)*@size: size of the args*@flags: set of flags governing behavior* Returns: %0 or error code if change_hat fails
aa_ns_nameaa_na_name - Find the ns name to display for @view from @curr*@curr - current namespace (NOT NULL)*@view - namespace attempting to view (NOT NULL)*@subns - are subns visible* Returns: name of @view visible from @curr
aa_find_nsaa_find_ns - look up a profile namespace on the namespace list*@root: namespace to search in (NOT NULL)*@name: name of namespace to find (NOT NULL)* Returns: a refcounted namespace on the list, or NULL if no namespace* called @name exists
aa_label_xaudit
aa_label_parse
safesetid_file_read
lockdown_read
lockdown_write
ima_measurements_showprint format:* 32bit-le=pcr#* char[20]=template digest* 32bit-le=template name size* char[n]=template name* [eventdata length]* eventdata[n]=template specific data
ima_read_policy
get_binary_runtime_sizeCalculate the memory required for serializing a single* binary_runtime_measurement list entry, which contains a* couple of variable length fields (e.g template name and data).
process_buffer_measurementprocess_buffer_measurement - Measure the buffer to ima log
ima_parse_add_rulema_parse_add_rule - add a rule to ima_policy_rules*@rule - ima measurement policy rule* Avoid locking by allowing just one writer at a time in ima_write_policy()* Returns the length of the rule parsed, an error code on failure
ima_template_setup
template_fmt_size
ima_init_template
ima_show_template_data_binary
ima_eventname_init_common
ima_read_modsigma_read_modsig - Read modsig from buf.* Return: 0 on success, error code otherwise.
ima_collect_modsigma_collect_modsig - Calculate the file hash without the appended signature.* Since the modsig is part of the file contents, the hash used in its signature* isn't the same one ordinarily calculated by IMA. Therefore PKCS7 code
evm_protected_xattr
evm_read_keyvm_read_key - read() for /evm*@filp: file pointer, not actually used*@buf: where to put the result*@count: maximum to send along*@ppos: where to start* Returns number of bytes read or error code, as appropriate
posix_xattr_acl
getname_kernel
readlink_copy
register_filesystemgister_filesystem - register a new filesystem*@fs: the file system structure* Adds the file system passed to the list of file systems the kernel* is aware of for mount and other syscalls
get_fs_type
vfs_kern_mount
do_new_mountreate a new mount for userspace and request it to be added into the* namespace's tree
seq_puts
generic_listxattrCombine the results of the list() operation from every xattr_handler in the* list.
xattr_full_namexattr_full_name - Compute full attribute name from suffix*@handler: handler of the xattr_handler operation*@name: name passed to the xattr_handler operation* The get and set xattr handler operations are called with the remainder of* the attribute name
xattr_list_one
simple_attr_readad from the buffer that is filled with the get function
generic_parse_monolithicgeneric_parse_monolithic - Parse key[=val][,key[=val]]* mount data*@ctx: The superblock configuration to fill in.*@data: The data to parse* Parse a blob of data that's in key[=val][,key[=val]]* form. This can be
legacy_parse_paramAdd a parameter to a legacy config. We build up a comma-separated list of* options.
fscontext_readAllow the user to read back any error, warning or informational messages.
bm_entry_read/
bm_register_write/register
bm_status_read/status
create_elf_tables
create_elf_fdpic_tablespresent useful information to the program by shovelling it onto the new* process's stack
dquot_quota_on_mountThis function is used when filesystem needs to initialize quotas* during mount time.
ramfs_symlink