mount patch

Denis Vlasenko vda.linux at googlemail.com
Mon Oct 16 20:04:33 UTC 2006


Just FYI:

This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:

     dronnikov at gmail.ru

Technical details of permanent failure: 
TEMP_FAILURE: Could not initiate SMTP conversation with any hosts:
[mx.gmail.ru. (10): Connection timed out]


On Friday 13 October 2006 12:52, Vladimir Dronnikov wrote:
> Hello, Denis!
> 
> Seems like BB' mount misses the feature of mount helpers.
> In particular, I would like to use /etc/fstab record, say
> 
> obexfs#-b#01:23:45:67:89:AB /mnt fuse defaults 0 0
> 
> to mount my mobile phone filesystem on /mnt with mount /mnt
> 
> I'd like to know if this feature is helpful.

Yes, why not?

You need to:
* check for args[16] overflow
  (maybe go xrealloc way instead of hardcoding the size)
* add check that we are not fed with this thing from commandline
  by untrusted user (user with nonzero uid). For those it
  must come from fstab, with "user" option. Wait...
  we do not support "user" option?
  We do not check nonzero uid at all?? nice... :(
--
vda



More information about the busybox mailing list