Set up what we think is the right way to read directories
[akaros.git] / kern / include / env.h
index a4974fb..0b23c98 100644 (file)
@@ -33,6 +33,7 @@ struct proc {
        spinlock_t proc_lock;
        struct user_context scp_ctx;    /* context for an SCP.  TODO: move to vc0 */
        char user[64]; /* user name */
+
        pid_t pid;
        /* Tempting to add a struct proc *parent, but we'd need to protect the use
         * of that reference from concurrent parent-death (letting init inherit
@@ -86,8 +87,11 @@ struct proc {
        struct namespace                        *ns;
        struct fs_struct                        fs_env;
        struct files_struct                     open_files;
-       struct pgrp                             *pgrp;
-       struct fgrp                             *fgrp;
+       struct pgrp                                     *pgrp;
+       struct fgrp                                     *fgrp;
+       struct chan                                     *slash;
+       struct chan                                     *dot;
+
 
        /* UCQ hashlocks */
        struct hashlock                         *ucq_hashlock;