BSD Ports

sysutils/kiconvtool 0.99_1 FreeBSD

Tool to preload kernel iconv charset tables

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE
Categories
sysutils
Package size
9.1 KiB, 14.7 KiB installed

Description

On FreeBSD, it's possible to allow plain users to mount filesystems without using su or sudo. This is enabled via vfs.usermount sysctl. However, if file name conversion is used when mounting a filesystem, in most cases mount will fail with `mount_XXX: XXX_iconv: Operation not permitted denied' error. This is caused by the fact that character set conversion tables need to be loaded into kernel, but, apart from mounting, that's not allowed to plain users, because charset tables are large enough to initiate a denial of service by filling kernel memory with many tables.

This utility allows you to load only specific charset tables into kernel, so usermounts with file name conversions won't fail and in the same time it's not possible to bring the system down by filling kernel memory.

Install

Binary package:

pkg install kiconvtool

From the ports tree:

cd /usr/ports/sysutils/kiconvtool/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	kiconvtool>0:sysutils/kiconvtool

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.99_10.99_10.990.99_10.99_1
FreeBSD:14:quarterly0.99_10.99_1n/a0.99_10.99_1
FreeBSD:15:latest0.99_10.99_1n/a0.99_10.99_1
FreeBSD:15:quarterly0.99_10.99_1n/an/an/a
FreeBSD:16:latest0.99_10.99_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

USES
iconv
Service scripts
none

Files

distinfo 1
FileSizeSHA256
AMDmi3-kiconvtool-0.99_GH0.tar.gz7250cf93df7ea2628ba178b4103aeac585ca820975e9a74041ff9ce12deba757b162

Commit history 0

No commits in the history this site was built from.