Lines Matching refs:arg_ptr
619 char *arg_ptr; /* Size is TOMOYO_EXEC_TMPSIZE bytes */ in tomoyo_environ() local
633 arg_ptr = kzalloc(TOMOYO_EXEC_TMPSIZE, GFP_NOFS); in tomoyo_environ()
634 if (!arg_ptr) in tomoyo_environ()
654 arg_ptr[arg_len++] = '\0'; in tomoyo_environ()
656 arg_ptr[arg_len++] = '\\'; in tomoyo_environ()
657 arg_ptr[arg_len++] = '\\'; in tomoyo_environ()
659 arg_ptr[arg_len++] = c; in tomoyo_environ()
661 arg_ptr[arg_len++] = '\\'; in tomoyo_environ()
662 arg_ptr[arg_len++] = (c >> 6) + '0'; in tomoyo_environ()
663 arg_ptr[arg_len++] in tomoyo_environ()
665 arg_ptr[arg_len++] = (c & 7) + '0'; in tomoyo_environ()
668 arg_ptr[arg_len] = '\0'; in tomoyo_environ()
672 if (tomoyo_env_perm(r, arg_ptr)) { in tomoyo_environ()
688 kfree(arg_ptr); in tomoyo_environ()