есть патчи старые для 6.x
вот написано для 7.0:
http://lists.freebsd.org/pipermail/free ... 00333.html
но там патч одним файлом, выдет ошибки при запуске
Url : http://lists.freebsd.org/pipermail/free ... its_70.bin
http://wiki.freebsd.org/Jails
Код: Выделить всё
chmod 750 ./memory_limits_70.bin
Код: Выделить всё
# ./memory_limits_70.bin
diff: src.old/lib/libc/sys/Symbol.map: No such file or directory
diff: src.new/lib/libc/sys/Symbol.map: No such file or directory
---: not found
+++: not found
@@: not found
issetugid: not found
usage: jail [-i] [-J jid_file] [-s securelevel] [-l -u username | -U username] path hostname ip-number command ...
jail_attach: not found
+: not found
LINES="24"
acpi_load="YES"
bootfile="kernel"
comconsole_speed="9600"
console="vidconsole"
currdev="disk1s1a:"
ddb.panic="5"
hint.acpi.0.oem="IntelR"
hint.acpi.0.revision="1"
hint.acpi.0.rsdp="0xf6c40"
hint.acpi.0.rsdt="0x0fff3000"
hint.adv.0.at="isa"
hint.adv.0.disabled="1"
hint.aha.0.at="isa"
hint.aha.0.disabled="1"
hint.aic.0.at="isa"
hint.aic.0.disabled="1"
hint.apm.0.disabled="1"
hint.apm.0.flags="0x20"
hint.ata.0.at="isa"
hint.ata.0.irq="14"
hint.ata.0.port="0x1F0"
hint.ata.1.at="isa"
hint.ata.1.irq="15"
hint.ata.1.port="0x170"
hint.atkbd.0.at="atkbdc"
hint.atkbd.0.irq="1"
hint.atkbdc.0.at="isa"
hint.atkbdc.0.port="0x060"
hint.bt.0.at="isa"
hint.bt.0.disabled="1"
hint.cs.0.at="isa"
hint.cs.0.disabled="1"
hint.cs.0.port="0x300"
hint.ed.0.at="isa"
hint.ed.0.disabled="1"
hint.ed.0.irq="10"
hint.ed.0.maddr="0xd8000"
hint.ed.0.port="0x280"
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.fd.1.at="fdc0"
hint.fd.1.drive="1"
hint.fdc.0.at="isa"
hint.fdc.0.drq="2"
hint.fdc.0.irq="6"
hint.fdc.0.port="0x3F0"
hint.fe.0.at="isa"
hint.fe.0.disabled="1"
hint.fe.0.port="0x300"
hint.ie.0.at="isa"
hint.ie.0.disabled="1"
hint.ie.0.irq="10"
hint.ie.0.maddr="0xd0000"
hint.ie.0.port="0x300"
hint.lnc.0.at="isa"
hint.lnc.0.disabled="1"
hint.lnc.0.drq="0"
hint.lnc.0.irq="10"
hint.lnc.0.port="0x280"
hint.ppc.0.at="isa"
hint.ppc.0.irq="7"
hint.psm.0.at="atkbdc"
hint.psm.0.irq="12"
hint.sc.0.at="isa"
hint.sc.0.flags="0x100"
hint.sio.0.at="isa"
hint.sio.0.flags="0x10"
hint.sio.0.irq="4"
hint.sio.0.port="0x3F8"
hint.sio.1.at="isa"
hint.sio.1.irq="3"
hint.sio.1.port="0x2F8"
hint.sio.2.at="isa"
hint.sio.2.disabled="1"
hint.sio.2.irq="5"
hint.sio.2.port="0x3E8"
hint.sio.3.at="isa"
hint.sio.3.disabled="1"
hint.sio.3.irq="9"
hint.sio.3.port="0x2E8"
hint.sn.0.at="isa"
hint.sn.0.disabled="1"
hint.sn.0.irq="10"
hint.sn.0.port="0x300"
hint.vga.0.at="isa"
hint.vt.0.at="isa"
hint.vt.0.disabled="1"
interpret="OK"
kern.ipc.maxsockets="204800"
kern.ipc.nmbclusters="65536"
kern.maxdsiz="1073741824"
kernel="kernel"
kernel_options=""
kernelname="/boot/kernel/kernel"
loaddev="disk1s1a:"
mac_ifoff="NO"
module_path="/boot/kernel;/boot/modules"
net.inet.tcp.syncache.bucketlimit="100"
net.inet.tcp.syncache.hashsize="1024"
net.inet.tcp.tcbhashsize="4096"
smbios.bios.reldate="12/30/2003"
smbios.bios.vendor="Phoenix Technologies, LTD"
smbios.bios.version="6.00 PG"
smbios.chassis.maker=" "
smbios.chassis.serial=" "
smbios.chassis.tag=" "
smbios.chassis.version=" "
smbios.planar.maker=" "
smbios.planar.product="SpringdalePE"
smbios.planar.serial=" "
smbios.planar.version=" "
smbios.socket.enabled="1"
smbios.socket.populated="1"
smbios.system.maker=" "
smbios.system.product=" "
smbios.system.serial=" "
smbios.system.version=" "
vfs.root.mountfrom="ufs:/dev/ad0s1a"
kevent: not found
usage: kill [-s signal_name] pid ...
kill -l [exit_status]
kill -signal_name pid ...
kill -signal_number pid ...
@@: not found
__sys_jail: not found
_jail_attach: not found
__sys_jail_attach: not found
+: not found
+: not found
_kenv: not found
__sys_kenv: not found
_kevent: not found
diff: src.old/sys/kern/init_sysent.c: No such file or directory
diff: src.new/sys/kern/init_sysent.c: No such file or directory
---: not found
+++: not found
@@: not found
1: not found
1: not found
1: not found
-: not found
-: not found
+: not found
+: not found
./memory_limits_70.bin: 1/: Permission denied
@@: not found
./memory_limits_70.bin: 36: Syntax error: word unexpected (expecting ")")
Код: Выделить всё
FreeBSD 7.0-STABLE #0:
тут надо пересмотреть каждую строку патча или что тут надо?