Date: Wed, 3 Dec 2003 12:08:52 +0600 From: Boris Popov <bp@freebsd.org> To: Rudolf Cejka <cejkar@fit.vutbr.cz> Cc: freebsd-current@freebsd.org Subject: Re: User mounts could not use character conversions (libkiconv is just for roots) Message-ID: <20031203060852.GT42142@vertex.kz> In-Reply-To: <20031202163805.GA40233@fit.vutbr.cz> References: <20031202163805.GA40233@fit.vutbr.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 02, 2003 at 05:38:05PM +0100, Rudolf Cejka wrote: > > I have found, that user mounts using libkiconv.so (msdosfs, cd9660, ...) > could not use character code conversions, beause writing to sysctl > kern.iconv.add is allowed just for root. Personally, I have created > small patch, which allows to change kern.iconv.add to anybody, so it does > work for me. Does anybody know, if there are security drawbacks and if > it can or can not be commited? Probably it is not a good idea to allow users to load kernel iconv tables because one can waste a lot of memory by loading of all possible conversion schemes. The better solution is to add some kind of preload ability which could be used on startup. -- Boris Popov http://rbp.euro.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031203060852.GT42142>