Created allowed.txt to track allowed functions for minishell and updated AGENTS.md to tell codex to not use any forbidden functions, also updated AGENTS.md to add all builtins changes
This commit is contained in:
177
allowed.txt
Normal file
177
allowed.txt
Normal file
@@ -0,0 +1,177 @@
|
||||
[minishell_allowed]
|
||||
readline
|
||||
rl_clear_history
|
||||
rl_on_new_line
|
||||
rl_replace_line
|
||||
rl_redisplay
|
||||
add_history
|
||||
printf
|
||||
malloc
|
||||
free
|
||||
write
|
||||
access
|
||||
open
|
||||
read
|
||||
close
|
||||
fork
|
||||
wait
|
||||
waitpid
|
||||
wait3
|
||||
wait4
|
||||
signal
|
||||
sigaction
|
||||
sigemptyset
|
||||
sigaddset
|
||||
kill
|
||||
exit
|
||||
getcwd
|
||||
chdir
|
||||
stat
|
||||
lstat
|
||||
fstat
|
||||
unlink
|
||||
execve
|
||||
dup
|
||||
dup2
|
||||
pipe
|
||||
opendir
|
||||
readdir
|
||||
closedir
|
||||
strerror
|
||||
perror
|
||||
isatty
|
||||
ttyname
|
||||
ttyslot
|
||||
ioctl
|
||||
getenv
|
||||
tcsetattr
|
||||
tcgetattr
|
||||
tgetent
|
||||
tgetflag
|
||||
tgetnum
|
||||
tgetstr
|
||||
tgoto
|
||||
tputs
|
||||
|
||||
[libft]
|
||||
ft_atoi
|
||||
ft_atoi_base
|
||||
ft_atol
|
||||
ft_bzero
|
||||
ft_calloc
|
||||
ft_cdlstadd_back
|
||||
ft_cdlstadd_front
|
||||
ft_cdlstclear
|
||||
ft_cdlstdelone
|
||||
ft_cdlstiter
|
||||
ft_cdlstlast
|
||||
ft_cdlstmap
|
||||
ft_cdlstnew
|
||||
ft_cdlstsize
|
||||
ft_clstadd_back
|
||||
ft_clstadd_front
|
||||
ft_clstclear
|
||||
ft_clstdelone
|
||||
ft_clstiter
|
||||
ft_clstlast
|
||||
ft_clstmap
|
||||
ft_clstnew
|
||||
ft_clstsize
|
||||
ft_dlstadd_back
|
||||
ft_dlstadd_front
|
||||
ft_dlstclear
|
||||
ft_dlstdelone
|
||||
ft_dlstiter
|
||||
ft_dlstlast
|
||||
ft_dlstmap
|
||||
ft_dlstnew
|
||||
ft_dlstsize
|
||||
ft_eputchar
|
||||
ft_eputendl
|
||||
ft_eputnbr
|
||||
ft_eputstr
|
||||
ft_free
|
||||
ft_free_split
|
||||
ft_hashmap_clear
|
||||
ft_hashmap_clear_keys
|
||||
ft_hashmap_contains_key
|
||||
ft_hashmap_entries
|
||||
ft_hashmap_get
|
||||
ft_hashmap_hashstr
|
||||
ft_hashmap_new
|
||||
ft_hashmap_put
|
||||
ft_hashmap_remove
|
||||
ft_hashmap_strcmp
|
||||
ft_hashstr
|
||||
ft_iabs
|
||||
ft_imin
|
||||
ft_isalnum
|
||||
ft_isalpha
|
||||
ft_isascii
|
||||
ft_iscntrl
|
||||
ft_isdigit
|
||||
ft_islower
|
||||
ft_isprint
|
||||
ft_isspace
|
||||
ft_isupper
|
||||
ft_itoa
|
||||
ft_itoa_base
|
||||
ft_lstadd_back
|
||||
ft_lstadd_front
|
||||
ft_lstclear
|
||||
ft_lstclear_nodes
|
||||
ft_lstdelone
|
||||
ft_lstiter
|
||||
ft_lstlast
|
||||
ft_lstmap
|
||||
ft_lstnew
|
||||
ft_lstsize
|
||||
ft_ltoa
|
||||
ft_memchr
|
||||
ft_memcmp
|
||||
ft_memcpy
|
||||
ft_memmove
|
||||
ft_memset
|
||||
ft_nsplit
|
||||
ft_pow
|
||||
ft_putchar
|
||||
ft_putchar_fd
|
||||
ft_putendl
|
||||
ft_putendl_fd
|
||||
ft_putnbr
|
||||
ft_putnbr_fd
|
||||
ft_putstr
|
||||
ft_putstr_fd
|
||||
ft_realloc
|
||||
ft_split
|
||||
ft_strchr
|
||||
ft_strcmp
|
||||
ft_strdup
|
||||
ft_strisnum
|
||||
ft_striteri
|
||||
ft_strjoin
|
||||
ft_strlcat
|
||||
ft_strlcpy
|
||||
ft_strlen
|
||||
ft_strmapi
|
||||
ft_strncmp
|
||||
ft_strncpy
|
||||
ft_strnjoin
|
||||
ft_strnstr
|
||||
ft_strrchr
|
||||
ft_strtrim
|
||||
ft_substr
|
||||
ft_swap
|
||||
ft_tolower
|
||||
ft_toupper
|
||||
ft_uitoa
|
||||
ft_uitoa_base
|
||||
ft_ultoa_base
|
||||
|
||||
[get_next_line]
|
||||
get_next_line
|
||||
|
||||
[ft_printf]
|
||||
ft_eprintf
|
||||
ft_fprintf
|
||||
ft_printf
|
||||
Reference in New Issue
Block a user