make timeout work, add setcap makefile rule

This commit is contained in:
2025-08-24 19:47:56 +02:00
parent b758a86083
commit 35c42d1f90
5 changed files with 28 additions and 16 deletions

View File

@ -34,6 +34,9 @@ $(OBJS_DIR)/%.o: $(SRCS_DIR)/%.c
$(OBJS_DIR)/%.pch: $(INCLUDES_DIR)/%.h
$(CC) $(FLAGS) -c $< -o $@
setcap: $(NAME)
sudo setcap cap_net_raw+ep $(NAME)
clean:
rm -rf $(OBJS_DIR)