summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--preload/preload_pd.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/preload/preload_pd.h b/preload/preload_pd.h
index 46473cc2..88facd2f 100644
--- a/preload/preload_pd.h
+++ b/preload/preload_pd.h
@@ -10,34 +10,9 @@ enum preload_state_t {
LOADING,
LOADED,
FAILED,
- ERROR
+ ERROR
};
-//enum preload_state_t preload_pd_get_state(struct task_struct *task);
-//void preload_pd_set_state(struct task_struct *task, enum preload_state_t state);
-//unsigned long preload_pd_get_loader_base(struct task_struct *task);
-//void preload_pd_set_loader_base(struct task_struct *task, unsigned long vaddr);
-//unsigned long preload_pd_get_handlers_base(struct task_struct *task);
-//void preload_pd_set_handlers_base(struct task_struct *task,
-// unsigned long vaddr);
-////unsigned long preload_pd_get_flags(struct task_struct *task);
-////void preload_pd_set_flags(struct task_struct *task, unsigned long flags);
-//void *preload_pd_get_handle(struct task_struct *task);
-//void preload_pd_set_handle(struct task_struct *task, void __user *handle);
-//
-//long preload_pd_get_attempts(struct task_struct *task);
-//void preload_pd_dec_attempts(struct task_struct *task);
-//
-//void preload_pd_inc_refs(struct task_struct *task);
-//void preload_pd_dec_refs(struct task_struct *task);
-//long preload_pd_get_refs(struct task_struct *task);
-//
-//char __user *preload_pd_get_path(void);
-//void preload_pd_put_path(struct task_struct *task);
-//
-//int preload_pd_create_pd(struct process_data **pd_pp, struct task_struct *task);
-
-
enum preload_state_t preload_pd_get_state(struct process_data *pd);
void preload_pd_set_state(struct process_data *pd, enum preload_state_t state);
unsigned long preload_pd_get_loader_base(struct process_data *pd);