Skip to content

Commit

Permalink
doc: add a reference to the symlink issue
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
Co-authored-by: Lorenzo Susini <susinilorenzo1@gmail.com>
  • Loading branch information
Andreagit97 and loresuso committed Aug 18, 2023
1 parent 940507c commit 7c7dc17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions driver/bpf/filler_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ static __always_inline struct file *bpf_fget(int fd)
* 2. we cannot use locks so we can face race conditions during the path reconstruction.
* 3. reconstructed path could be slightly different from the one returned by `d_path`.
* See pseudo_filesystem prefixes or the " (deleted)" suffix.
*
* Take a look at the research that led to this implementation:
* https://github.com/falcosecurity/libs/issues/1111
*/
static __always_inline char *bpf_d_path_approx(struct filler_data *data, struct path *path)
{
Expand Down
3 changes: 3 additions & 0 deletions driver/modern_bpf/helpers/store/auxmap_store_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -1473,6 +1473,9 @@ static __always_inline void apply_dynamic_snaplen(struct pt_regs *regs, u16 *sna
* 3. reconstructed path could be slightly different from the one returned by `d_path`.
* See pseudo_filesystem prefixes or the " (deleted)" suffix.
*
* Take a look at the research that led to this implementation:
* https://github.com/falcosecurity/libs/issues/1111
*
* @param auxmap pointer to the auxmap in which we are storing the param.
* @param path pointer to the path struct from which we will extract the path name
*/
Expand Down

0 comments on commit 7c7dc17

Please sign in to comment.