summaryrefslogtreecommitdiff
path: root/extmod/modusocket.c
diff options
context:
space:
mode:
authorRob Knegjens <rob@knegjens.net>2022-04-06 10:56:28 -0700
committerDamien George <damien@micropython.org>2022-04-11 15:15:04 +1000
commitd3d862769ad9f1317702b921dda1912d9a673948 (patch)
tree17a9666b2fb50cb7355eee19b26986e120268835 /extmod/modusocket.c
parent56978c3dde3440367438a89353ba73b32c8cdbc2 (diff)
tools/mpremote: Add option to mount cmd to allow "unsafe" symlinks.
Specifying the option `--unsafe-links` (or `-l`) to `mpremote mount` will allow symlinks to be followed in the local directory that point outside of the base directory path. For the unsafe case the `path_check()` method of `PyboardCommand` still checks for a common path but without expanding symlinks. While this check is currently redundant, it makes the purpose of the method clearer for possible future uses or extensions.
Diffstat (limited to 'extmod/modusocket.c')
0 files changed, 0 insertions, 0 deletions