summaryrefslogtreecommitdiff
path: root/cifs.upcall.8.in
diff options
context:
space:
mode:
authorGermano Percossi <germano.percossi@citrix.com>2016-11-18 18:54:51 +0000
committerJeff Layton <jlayton@samba.org>2016-11-27 06:30:38 -0500
commita1f3acd40b265f134a97a739a6898b3958d206b9 (patch)
tree97c81b656ad10f016efa3f75a2b2d669a559b01b /cifs.upcall.8.in
parent57e4e22de7ea79f56471e7eb8cec9db926087f8d (diff)
downloadcifs-utils-a1f3acd40b265f134a97a739a6898b3958d206b9.tar.gz
cifs-utils-a1f3acd40b265f134a97a739a6898b3958d206b9.tar.bz2
cifs-utils-a1f3acd40b265f134a97a739a6898b3958d206b9.zip
mount.cifs: Fixed command line parsing and aligned with kernel
The way token matching was done was consuming the parameters namespace quickly. For example, anything starting with "dom" was interpreted with domain, while it could have been a completely different word. The same is true even for "ro". Moreover, many perfectly valid options like "addr" where not accepted. The cifs kernel module is very strict when it comes to names: 'dom' and 'domain' are valid while 'domai' is not, so the userspace tool needs to comply otherwise it becomes very difficult to come up with new names for options. Now, checking is strict and as close as possible to kernel. When it is not, it is just to avoid breaking compatibility with some users. However, workg has been removed because it is too lazy and undocumented. The only variable left without strict checking is 'x-' because the intent is to ignore anything starting in that way Signed-off-by: Germano Percossi <germano.percossi@citrix.com>
Diffstat (limited to 'cifs.upcall.8.in')
0 files changed, 0 insertions, 0 deletions