Lines Matching refs:Chdir
36 // NO_CHROOT ---chroot(path)--> ROOT_CHANGED ---chdir(/) --> JAIL_ENTERED
38 // ROOT_CHANGED<--chdir(..)-- JAIL_ENTERED<--chdir(..)--
59 void Chdir(CheckerContext &C, const CallExpr *CE) const;
73 II_chdir = &Ctx.Idents.get("chdir");
80 Chdir(C, CE);
97 void ChrootChecker::Chdir(CheckerContext &C, const CallExpr *CE) const {
106 // After chdir("/"), enter the jail, set the enum value JAIL_ENTERED.
123 // Check the jail state before any function call except chroot and chdir().
133 II_chdir = &Ctx.Idents.get("chdir");
135 // Ingnore chroot and chdir.
146 this, "Break out of jail", "No call of chdir(\"/\") immediately "