summaryrefslogtreecommitdiffstats
path: root/src/include/sys
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2011-09-16 11:17:49 -0500
committerDouglas R. Gilbert <dgilbert@us.ibm.com>2011-09-21 13:01:44 -0500
commitecbf21b783f33fc71f164540122179f6e011fa7b (patch)
treed62357801320649b9785b620f1dd87c5b49cbb93 /src/include/sys
parent4829bd486c7d36e61719cf39bde60f24bdc06f19 (diff)
downloadtalos-hostboot-ecbf21b783f33fc71f164540122179f6e011fa7b.tar.gz
talos-hostboot-ecbf21b783f33fc71f164540122179f6e011fa7b.zip
VFS implement setting page permissions on virtual memory
Change-Id: I5a511a376d6d4ce685945e75aac7c550bb9e0aad Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/347 Tested-by: Jenkins Server Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Diffstat (limited to 'src/include/sys')
-rw-r--r--src/include/sys/vfs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/sys/vfs.h b/src/include/sys/vfs.h
index f16e91b23..2f99e39c8 100644
--- a/src/include/sys/vfs.h
+++ b/src/include/sys/vfs.h
@@ -110,6 +110,14 @@ VfsSystemModule * vfs_find_module(VfsSystemModule * i_table, const char * i_name
* @retval -ENOEXEC if there is no start()
*/
tid_t vfs_exec(VfsSystemModule * i_module, void* i_param);
+
+/**
+ * Change permissions on the virtual pages associated with the module
+ * @param[in] module The vfsSystemModule
+ * @return rc from mm_set_permission()
+ */
+int vfs_module_perms(VfsSystemModule* module);
+
#endif
#endif
OpenPOWER on IntegriCloud