From 774ea40c788bfc76388ea81e0ff9a3fee6291e88 Mon Sep 17 00:00:00 2001 From: Antti Kantee Date: Thu, 4 Feb 2016 01:28:43 +0000 Subject: [PATCH] Add a librumprunfs_base component. It is built by genfs and contains the /etc files required by most Rumprun unikernels. --- lib/librumprunfs_base/Makefile | 16 + lib/librumprunfs_base/etc/group | 1 + lib/librumprunfs_base/etc/master.passwd | 2 + lib/librumprunfs_base/etc/nsswitch.conf | 29 ++ lib/librumprunfs_base/etc/protocols | 329 ++++++++++++++++++++ lib/librumprunfs_base/etc/pwd.db | Bin 0 -> 40960 bytes lib/librumprunfs_base/etc/resolv.conf | 8 + lib/librumprunfs_base/etc/services | 393 ++++++++++++++++++++++++ lib/librumprunfs_base/etc/spwd.db | Bin 0 -> 40960 bytes platform/Makefile.inc | 4 +- 10 files changed, 781 insertions(+), 1 deletion(-) create mode 100644 lib/librumprunfs_base/Makefile create mode 100644 lib/librumprunfs_base/etc/group create mode 100644 lib/librumprunfs_base/etc/master.passwd create mode 100644 lib/librumprunfs_base/etc/nsswitch.conf create mode 100644 lib/librumprunfs_base/etc/protocols create mode 100644 lib/librumprunfs_base/etc/pwd.db create mode 100644 lib/librumprunfs_base/etc/resolv.conf create mode 100644 lib/librumprunfs_base/etc/services create mode 100644 lib/librumprunfs_base/etc/spwd.db diff --git a/lib/librumprunfs_base/Makefile b/lib/librumprunfs_base/Makefile new file mode 100644 index 0000000..a5f4b66 --- /dev/null +++ b/lib/librumprunfs_base/Makefile @@ -0,0 +1,16 @@ +# XXX: this Makefile is built with rumpmake + +include ${RUMPRUN_MKCONF} +include ${BUILDRUMP_TOOLFLAGS} + +obj: + mkdir -p ${MAKEOBJDIR} + +includes: + +dependall: + ( cd ${.CURDIR} && \ + RUMPRUN_GENFS_CC="${CC}" RUMPRUN_GENFS_OBJCOPY="${OBJCOPY}" \ + RUMPRUN_GENFS_INCDIR="${RROBJ}/dest.stage/include" \ + ${RROBJ}/app-tools/${TOOLTUPLE}-genfs \ + ${MAKEOBJDIR}/librumprunfs_base.a etc ) diff --git a/lib/librumprunfs_base/etc/group b/lib/librumprunfs_base/etc/group new file mode 100644 index 0000000..47fdaae --- /dev/null +++ b/lib/librumprunfs_base/etc/group @@ -0,0 +1 @@ +daemon:x:1: diff --git a/lib/librumprunfs_base/etc/master.passwd b/lib/librumprunfs_base/etc/master.passwd new file mode 100644 index 0000000..e580f25 --- /dev/null +++ b/lib/librumprunfs_base/etc/master.passwd @@ -0,0 +1,2 @@ +root:*:0:0::0:0:Charlie &:/:/thereisnoshell +daemon:*:1:1::0:0:The devil himself:/:/thereisnoshell diff --git a/lib/librumprunfs_base/etc/nsswitch.conf b/lib/librumprunfs_base/etc/nsswitch.conf new file mode 100644 index 0000000..152fbcc --- /dev/null +++ b/lib/librumprunfs_base/etc/nsswitch.conf @@ -0,0 +1,29 @@ +# $NetBSD: nsswitch.conf,v 1.6 2009/10/25 00:17:06 tsarna Exp $ +# +# nsswitch.conf(5) - +# name service switch configuration file +# + + +# These are the defaults in libc +# +group: compat +group_compat: nis +hosts: files dns +netgroup: files [notfound=return] nis +networks: files +passwd: compat +passwd_compat: nis +shells: files + + +# List of supported sources for each database +# +# group: compat, dns, files, nis +# group_compat: dns, nis +# hosts: dns, files, nis, mdnsd, multicast_dns +# netgroup: files, nis +# networks: dns, files, nis +# passwd: compat, dns, files, nis +# passwd_compat: dns, nis +# shells: dns, files, nis diff --git a/lib/librumprunfs_base/etc/protocols b/lib/librumprunfs_base/etc/protocols new file mode 100644 index 0000000..61d1604 --- /dev/null +++ b/lib/librumprunfs_base/etc/protocols @@ -0,0 +1,329 @@ +# $NetBSD: protocols,v 1.28 2015/11/18 16:16:36 christos Exp $ +# See also: protocols(5), http://www.sethwklein.net/projects/iana-etc/ +# +# Last Updated +# 2015-10-06 +# +# Available Formats +# [IMG] +# XML [IMG] +# HTML [IMG] +# Plain text +# +# Registry included below +# +# * Assigned Internet Protocol Numbers +# +# Assigned Internet Protocol Numbers +# +# Registration Procedure(s) +# +# IESG Approval or Standards Action +# +# Reference +# [RFC5237][RFC7045] +# +# Note +# +# In the Internet Protocol version 4 (IPv4) [RFC791] there is a field +# called "Protocol" to identify the next level protocol. This is an 8 +# bit field. In Internet Protocol version 6 (IPv6) [RFC2460], this field +# is called the "Next Header" field. +# +# Note +# +# Values that are also IPv6 Extension Header Types should be listed in the +# IPv6 Extension Header Types registry at [IANA registry ipv6-parameters]. +# +# Available Formats +# [IMG] +# CSV +# +# Decimal Keyword Protocol IPv6 Extension Reference +# Header +# protocol num aliases # comments +hopopt 0 HOPOPT # IPv6 Hop-by-Hop Option Y [RFC2460] +icmp 1 ICMP # Internet Control Message [RFC792] +igmp 2 IGMP # Internet Group Management [RFC1112] +ggp 3 GGP # Gateway-to-Gateway [RFC823] +ipv4 4 IPv4 # IPv4 encapsulation [RFC2003] +st 5 ST # Stream [RFC1190][RFC1819] +tcp 6 TCP # Transmission Control [RFC793] +cbt 7 CBT # CBT [Tony_Ballardie] +egp 8 EGP # Exterior Gateway Protocol [RFC888][David_Mills] +# any private interior gateway +igp 9 IGP # (used by Cisco for their [Internet_Assigned_Numbers_Authority] +# IGRP) +bbn-rcc-mon 10 BBN-RCC-MON # BBN RCC Monitoring [Steve_Chipman] +nvp-ii 11 NVP-II # Network Voice Protocol [RFC741][Steve_Casner] +# [Boggs, D., J. Shoch, E. Taft, and R. Metcalfe, "PUP: An Internetwork +pup 12 PUP # PUP Architecture", XEROX Palo Alto Research Center, CSL-79-10, July 1979; +# also in IEEE Transactions on Communication, Volume COM-28, Number 4, +# April 1980.][[XEROX]] +argus 13 ARGUS # (deprecated) ARGUS [Robert_W_Scheifler] +emcon 14 EMCON # EMCON [] +xnet 15 XNET # Cross Net Debugger [Haverty, J., "XNET Formats for Internet Protocol Version 4", IEN 158, +# October 1980.][Jack_Haverty] +chaos 16 CHAOS # Chaos [J_Noel_Chiappa] +udp 17 UDP # User Datagram [RFC768][Jon_Postel] +mux 18 MUX # Multiplexing [Cohen, D. and J. Postel, "Multiplexing Protocol", IEN 90, +# USC/Information Sciences Institute, May 1979.][Jon_Postel] +dcn-meas 19 DCN-MEAS # DCN Measurement Subsystems [David_Mills] +hmp 20 HMP # Host Monitoring [RFC869][Bob_Hinden] +prm 21 PRM # Packet Radio Measurement [Zaw_Sing_Su] +# ["The Ethernet, A Local Area Network: Data Link Layer and Physical Layer +# Specification", AA-K759B-TK, Digital Equipment Corporation, Maynard, MA. +# Also as: "The Ethernet - A Local Area Network", Version 1.0, Digital +# Equipment Corporation, Intel Corporation, Xerox Corporation, September +xns-idp 22 XNS-IDP # XEROX NS IDP 1980. And: "The Ethernet, A Local Area Network: Data Link Layer and +# Physical Layer Specifications", Digital, Intel and Xerox, November 1982. +# And: XEROX, "The Ethernet, A Local Area Network: Data Link Layer and +# Physical Layer Specification", X3T51/80-50, Xerox Corporation, Stamford, +# CT., October 1980.][[XEROX]] +trunk-1 23 TRUNK-1 # Trunk-1 [Barry_Boehm] +trunk-2 24 TRUNK-2 # Trunk-2 [Barry_Boehm] +leaf-1 25 LEAF-1 # Leaf-1 [Barry_Boehm] +leaf-2 26 LEAF-2 # Leaf-2 [Barry_Boehm] +rdp 27 RDP # Reliable Data Protocol [RFC908][Bob_Hinden] +irtp 28 IRTP # Internet Reliable [RFC938][Trudy_Miller] +# Transaction +iso-tp4 29 ISO-TP4 # ISO Transport Protocol Class [RFC905][] +# 4 +netblt 30 NETBLT # Bulk Data Transfer Protocol [RFC969][David_Clark] +# MFE Network Services [Shuttleworth, B., "A Documentary of MFENet, a National Computer +mfe-nsp 31 MFE-NSP # Protocol Network", UCRL-52317, Lawrence Livermore Labs, Livermore, California, +# June 1977.][Barry_Howard] +merit-inp 32 MERIT-INP # MERIT Internodal Protocol [Hans_Werner_Braun] +dccp 33 DCCP # Datagram Congestion Control [RFC4340] +# Protocol +3pc 34 3PC # Third Party Connect Protocol [Stuart_A_Friedberg] +idpr 35 IDPR # Inter-Domain Policy Routing [Martha_Steenstrup] +# Protocol +xtp 36 XTP # XTP [Greg_Chesson] +ddp 37 DDP # Datagram Delivery Protocol [Wesley_Craig] +idpr-cmtp 38 IDPR-CMTP # IDPR Control Message [Martha_Steenstrup] +# Transport Proto +tp++ 39 TP++ # TP++ Transport Protocol [Dirk_Fromhein] +il 40 IL # IL Transport Protocol [Dave_Presotto] +ipv6 41 IPv6 # IPv6 encapsulation [RFC2473] +sdrp 42 SDRP # Source Demand Routing [Deborah_Estrin] +# Protocol +ipv6-route 43 IPv6-Route # Routing Header for IPv6 Y [Steve_Deering] +ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6 Y [Steve_Deering] +idrp 45 IDRP # Inter-Domain Routing [Sue_Hares] +# Protocol +rsvp 46 RSVP # Reservation Protocol [RFC2205][RFC3209][Bob_Braden] +gre 47 GRE # Generic Routing [RFC2784][Tony_Li] +# Encapsulation +dsr 48 DSR # Dynamic Source Routing [RFC4728] +# Protocol +bna 49 BNA # BNA [Gary Salamon] +esp 50 ESP # Encap Security Payload Y [RFC4303] +ah 51 AH # Authentication Header Y [RFC4302] +i-nlsp 52 I-NLSP # Integrated Net Layer [K_Robert_Glenn] +# Security TUBA +swipe 53 SWIPE # (deprecated) IP with Encryption [John_Ioannidis] +narp 54 NARP # NBMA Address Resolution [RFC1735] +# Protocol +mobile 55 MOBILE # IP Mobility [Charlie_Perkins] +# Transport Layer Security +tlsp 56 TLSP # Protocol using Kryptonet key [Christer_Oberg] +# management +skip 57 SKIP # SKIP [Tom_Markson] +ipv6-icmp 58 IPv6-ICMP # ICMP for IPv6 [RFC2460] +ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6 [RFC2460] +ipv6-opts 60 IPv6-Opts # Destination Options for IPv6 Y [RFC2460] +# 61 any host internal protocol [Internet_Assigned_Numbers_Authority] +cftp 62 CFTP # CFTP [Forsdick, H., "CFTP", Network Message, Bolt Beranek and Newman, January +# 1982.][Harry_Forsdick] +# 63 any local network [Internet_Assigned_Numbers_Authority] +sat-expak 64 SAT-EXPAK # SATNET and Backroom EXPAK [Steven_Blumenthal] +kryptolan 65 KRYPTOLAN # Kryptolan [Paul Liu] +rvd 66 RVD # MIT Remote Virtual Disk [Michael_Greenwald] +# Protocol +ippc 67 IPPC # Internet Pluribus Packet [Steven_Blumenthal] +# Core +# 68 any distributed file system [Internet_Assigned_Numbers_Authority] +sat-mon 69 SAT-MON # SATNET Monitoring [Steven_Blumenthal] +visa 70 VISA # VISA Protocol [Gene_Tsudik] +ipcv 71 IPCV # Internet Packet Core Utility [Steven_Blumenthal] +cpnx 72 CPNX # Computer Protocol Network [David Mittnacht] +# Executive +cphb 73 CPHB # Computer Protocol Heart Beat [David Mittnacht] +wsn 74 WSN # Wang Span Network [Victor Dafoulas] +pvp 75 PVP # Packet Video Protocol [Steve_Casner] +br-sat-mon 76 BR-SAT-MON # Backroom SATNET Monitoring [Steven_Blumenthal] +sun-nd 77 SUN-ND # SUN ND PROTOCOL-Temporary [William_Melohn] +wb-mon 78 WB-MON # WIDEBAND Monitoring [Steven_Blumenthal] +wb-expak 79 WB-EXPAK # WIDEBAND EXPAK [Steven_Blumenthal] +iso-ip 80 ISO-IP # ISO Internet Protocol [Marshall_T_Rose] +vmtp 81 VMTP # VMTP [Dave_Cheriton] +secure-vmtp 82 SECURE-VMTP # SECURE-VMTP [Dave_Cheriton] +vines 83 VINES # VINES [Brian Horn] +ttp 84 TTP iptm IPTM # Transaction Transport [Jim_Stevens] +# Protocol +#iptm 84 IPTM # Internet Protocol Traffic [Jim_Stevens] +# Manager +nsfnet-igp 85 NSFNET-IGP # NSFNET-IGP [Hans_Werner_Braun] +dgp 86 DGP # Dissimilar Gateway Protocol [M/A-COM Government Systems, "Dissimilar Gateway Protocol Specification, +# Draft Version", Contract no. CS901145, November 16, 1987.][Mike_Little] +tcf 87 TCF # TCF [Guillermo_A_Loyola] +eigrp 88 EIGRP # EIGRP [Cisco Systems, "Gateway Server Reference Manual", Manual Revision B, +# January 10, 1988.][Guenther_Schreiner] +ospfigp 89 OSPFIGP # OSPFIGP [RFC1583][RFC2328][RFC5340][John_Moy] +# [Welch, B., "The Sprite Remote Procedure Call System", Technical Report, +sprite-rpc 90 Sprite-RPC # Sprite RPC Protocol UCB/Computer Science Dept., 86/302, University of California at Berkeley, +# June 1986.][Bruce Willins] +larp 91 LARP # Locus Address Resolution [Brian Horn] +# Protocol +mtp 92 MTP # Multicast Transport Protocol [Susie_Armstrong] +ax.25 93 AX.25 # AX.25 Frames [Brian_Kantor] +ipip 94 IPIP # IP-within-IP Encapsulation [John_Ioannidis] +# Protocol +micp 95 MICP # (deprecated) Mobile Internetworking [John_Ioannidis] +# Control Pro. +scc-sp 96 SCC-SP # Semaphore Communications [Howard_Hart] +# Sec. Pro. +etherip 97 ETHERIP # Ethernet-within-IP [RFC3378] +# Encapsulation +encap 98 ENCAP # Encapsulation Header [RFC1241][Robert_Woodburn] +# 99 any private encryption [Internet_Assigned_Numbers_Authority] +# scheme +gmtp 100 GMTP # GMTP [[RXB5]] +ifmp 101 IFMP # Ipsilon Flow Management [Bob_Hinden][November 1995, 1997.] +# Protocol +pnni 102 PNNI # PNNI over IP [Ross_Callon] +pim 103 PIM # Protocol Independent [RFC-ietf-pim-rfc4601bis-06][Dino_Farinacci] +# Multicast +aris 104 ARIS # ARIS [Nancy_Feldman] +scps 105 SCPS # SCPS [Robert_Durst] +qnx 106 QNX # QNX [Michael_Hunter] +a/n 107 A/N # Active Networks [Bob_Braden] +ipcomp 108 IPComp # IP Payload Compression [RFC2393] +# Protocol +snp 109 SNP # Sitara Networks Protocol [Manickam_R_Sridhar] +compaq-peer 110 Compaq-Peer # Compaq Peer Protocol [Victor_Volpe] +ipx-in-ip 111 IPX-in-IP # IPX in IP [CJ_Lee] +vrrp 112 VRRP # Virtual Router Redundancy [RFC5798] +# Protocol +pgm 113 PGM # PGM Reliable Transport [Tony_Speakman] +# Protocol +# 114 any 0-hop protocol [Internet_Assigned_Numbers_Authority] +l2tp 115 L2TP # Layer Two Tunneling Protocol [RFC3931][Bernard_Aboba] +ddx 116 DDX # D-II Data Exchange (DDX) [John_Worley] +iatp 117 IATP # Interactive Agent Transfer [John_Murphy] +# Protocol +stp 118 STP # Schedule Transfer Protocol [Jean_Michel_Pittet] +srp 119 SRP # SpectraLink Radio Protocol [Mark_Hamilton] +uti 120 UTI # UTI [Peter_Lothberg] +smp 121 SMP # Simple Message Protocol [Leif_Ekblad] +sm 122 SM # (deprecated) Simple Multicast Protocol [Jon_Crowcroft][draft-perlman-simple-multicast] +ptp 123 PTP # Performance Transparency [Michael_Welzl] +# Protocol +isis 124 ISIS # over IPv4 [Tony_Przygienda] +fire 125 FIRE # [Criag_Partridge] +crtp 126 CRTP # Combat Radio Transport [Robert_Sautter] +# Protocol +crudp 127 CRUDP # Combat Radio User Datagram [Robert_Sautter] +sscopmce 128 SSCOPMCE # [Kurt_Waber] +iplt 129 IPLT # [[Hollbach]] +sps 130 SPS # Secure Packet Shield [Bill_McIntosh] +pipe 131 PIPE # Private IP Encapsulation [Bernhard_Petri] +# within IP +sctp 132 SCTP # Stream Control Transmission [Randall_R_Stewart] +# Protocol +fc 133 FC # Fibre Channel [Murali_Rajagopal][RFC6172] +rsvp-e2e-ignore 134 RSVP-E2E-IGNORE # [RFC3175] +mobility 135 Mobility # Header Y [RFC6275] +udplite 136 UDPLite # [RFC3828] +mpls-in-ip 137 MPLS-in-IP # [RFC4023] +manet 138 MANET # MANET Protocols [RFC5498] +hip 139 HIP # Host Identity Protocol Y [RFC7401] +shim6 140 Shim6 # Shim6 Protocol Y [RFC5533] +wesp 141 WESP # Wrapped Encapsulating [RFC5840] +# Security Payload +rohc 142 ROHC # Robust Header Compression [RFC5858] +# 143-252 Unassigned [Internet_Assigned_Numbers_Authority] +# 253 Use for experimentation and Y [RFC3692] +# testing +# 254 Use for experimentation and Y [RFC3692] +# testing +reserved 255 Reserved # [Internet_Assigned_Numbers_Authority] +# +# People +# +# ID Name Contact URI Last Updated +# [Barry_Boehm] Barry Boehm mailto:boehm&arpa.mil +# [Barry_Howard] Barry Howard mailto:Howard&nmfecc.llnl.gov +# [Bernard_Aboba] Bernard Aboba mailto:bernardaµsoft.com 1998-04 +# [Bernhard_Petri] Bernhard Petri mailto:bernhard.petri&siemens.com 2012-07-09 +# [Bill_McIntosh] Bill McIntosh mailto:BMcIntosh&fortresstech.com +# [Bob_Braden] Bob Braden mailto:braden&isi.edu 1997-07 +# [Bob_Hinden] Bob Hinden mailto:bob.hinden&gmail.com 2013-02-17 +# [Brian_Kantor] Brian Kantor mailto:brian&ucsd.edu +# [CJ_Lee] CJ Lee mailto:cj_lee&novell.com 1997-10 +# [Charlie_Perkins] Charlie Perkins mailto:perk&watson.ibm.com 1994-10 +# [Christer_Oberg] Christer Oberg mailto:chg&bull.se 1994-10 +# [Criag_Partridge] Criag Partridge mailto:craig&bbn.com 1999-08 +# [Dave_Cheriton] Dave Cheriton mailto:cheriton&pescadero.stanford.edu +# [Dave_Presotto] Dave Presotto mailto:presotto&plan9.att.com 1995-07 +# [David_Clark] David Clark mailto:ddc&lcs.mit.edu +# [David_Mills] David Mills mailto:Mills&huey.udel.edu +# [Deborah_Estrin] Deborah Estrin mailto:estrin&usc.edu +# [Dino_Farinacci] Dino Farinacci mailto:dino&cisco.com 1996-03 +# [Dirk_Fromhein] Dirk Fromhein mailto:df&watershed.com +# [Gene_Tsudik] Gene Tsudik mailto:tsudik&usc.edu +# [Greg_Chesson] Greg Chesson mailto:Greg&sgi.com +# [Guenther_Schreiner] Guenther Schreiner mailto:snmp-admin&ira.uka.de +# [Guillermo_A_Loyola] Guillermo A. Loyola mailto:LOYOLA&ibm.com +# [Hans_Werner_Braun] Hans-Werner Braun mailto:HWB&mcr.umich.edu +# [Harry_Forsdick] Harry Forsdick mailto:Forsdick&bbn.com +# [Howard_Hart] Howard Hart mailto:hch&hybrid.com +# [Internet_Assigned_Numbers_Authority] Internet Assigned Numbers Authority mailto:iana&iana.org 1995-06 +# [J_Noel_Chiappa] J. Noel Chiappa mailto:JNC&xx.lcs.mit.edu +# [Jack_Haverty] Jack Haverty mailto:jhaverty&oracle.com +# [Jean_Michel_Pittet] Jean-Michel Pittet mailto:jmp&gandalf.engr.sgi.com 1998-11 +# [Jim_Stevens] Jim Stevens mailto:jasteven&rockwellcollins.com 2011-01-26 +# [John_Ioannidis] John Ioannidis mailto:ji&tla.org 2015-01-06 +# [John_Moy] John Moy mailto:jmoy&proteon.com +# [John_Murphy] John Murphy mailto:john.m.murphy&mci.com 1998-10 +# [John_Worley] John Worley mailto:worley&milehigh.net 1998-06 +# [Jon_Crowcroft] Jon Crowcroft mailto:jon&cs.ucl.ac.uk 1999-06 +# [Jon_Postel] Jon Postel mailto:postel&isi.edu +# [K_Robert_Glenn] K. Robert Glenn mailto:glenn&osi.ncsl.nist.gov +# [Kurt_Waber] Kurt Waber mailto:kurt.waber&swisscom.com 1999-08 +# [Leif_Ekblad] Leif Ekblad mailto:leif&rdos.net 2012-08-21 +# [Manickam_R_Sridhar] Manickam R. Sridhar mailto:msridhar&sitaranetworks.com 1997-09 +# [Mark_Hamilton] Mark Hamilton mailto:mah&spectralink.com 1998-11 +# [Marshall_T_Rose] Marshall T. Rose mailto:mrose&dbc.mtview.ca.us +# [Martha_Steenstrup] Martha Steenstrup mailto:MSteenst&bbn.com +# [Michael_Greenwald] Michael Greenwald mailto:Greenwald&scrc-stony-brook.symbolics.com +# [Michael_Hunter] Michael Hunter mailto:mphunter&qnx.com 1997-07 +# [Michael_Welzl] Michael Welzl mailto:michael&tk.uni-linz.ac.at 1999-08 +# [Mike_Little] Mike Little mailto:little&macom4.arpa +# [Murali_Rajagopal] Murali Rajagopal mailto:murali&gadzoox.com 2000-05 +# [Nancy_Feldman] Nancy Feldman mailto:nkf&vnet.ibm.com 1997-01 +# [Peter_Lothberg] Peter Lothberg mailto:roll&stupi.se 1999-03 +# [Randall_R_Stewart] Randall R. Stewart mailto:rrs&lakerest.net 2000-04 +# [Robert_Durst] Robert Durst mailto:durst&mitre.org 1997-03 +# [Robert_Sautter] Robert Sautter mailto:rsautter&acdnj.itt.com 1999-08 +# [Robert_W_Scheifler] Robert W. Scheifler mailto:rscheifler&comcast.net 2015-10-06 +# [Robert_Woodburn] Robert Woodburn mailto:woody&cseic.saic.com +# [Ross_Callon] Ross Callon mailto:rcallon&baynetworks.com 1995-12 +# [Steve_Casner] Steve Casner mailto:casner&isi.edu +# [Steve_Chipman] Steve Chipman mailto:Chipman&f.bbn.com +# [Steve_Deering] Steve Deering mailto:deering&parc.xerox.com 1995-03 +# [Steven_Blumenthal] Steven Blumenthal mailto:BLUMENTHAL&vax.bbn.com +# [Stuart_A_Friedberg] Stuart A. Friedberg mailto:stuart&cs.wisc.edu +# [Sue_Hares] Sue Hares mailto:skh&merit.edu +# [Susie_Armstrong] Susie Armstrong mailto:Armstrong.wbst128&xerox.com +# [Tom_Markson] Tom Markson mailto:markson&osmosys.ingog.com 1995-09 +# [Tony_Ballardie] Tony Ballardie mailto:A.Ballardie&cs.ucl.ac.uk +# [Tony_Li] Tony Li mailto:tony.li&tony.li 2012-10-17 +# [Tony_Przygienda] Tony Przygienda mailto:prz&siara.com 1999-08 +# [Tony_Speakman] Tony Speakman mailto:speakman&cisco.com 1998-01 +# [Trudy_Miller] Trudy Miller mailto:Trudy&acc.com +# [Victor_Volpe] Victor Volpe mailto:vvolpe&smtp.microcom.com 1997-10 +# [Wesley_Craig] Wesley Craig mailto:Wesley.Craig&terminator.cc.umich.edu +# [William_Melohn] William Melohn mailto:Melohn&sun.com +# [Zaw_Sing_Su] Zaw-Sing Su mailto:ZSu&tsca.istc.sri. diff --git a/lib/librumprunfs_base/etc/pwd.db b/lib/librumprunfs_base/etc/pwd.db new file mode 100644 index 0000000000000000000000000000000000000000..daf6fb9eb45a087af9fc223e190a5893f5d70458 GIT binary patch literal 40960 zcmeI)u}U047zglAJv4L;qW+C9|COEy;0Mzx+}33YsYmps`}%> za9meSbMN8JGJ0x}jdE;W+5exWFXj+x3?U?Umaohx*@q|36C~(|*qF%Jc*X5FkK+ z009C72oNAZfWYGf+S|CV-;{dl_y6@$U^afHAL(1p<9?O52oNAZfB*pk1PBlyK!5;& z=@ck`BY6L2_ubo_?de>gRS_USfB*pk1PBlyK!5-N0<8*sztRX0AV7cs0RjXF5FkK+ J0D+e-a1H-^TnhjI literal 0 HcmV?d00001 diff --git a/lib/librumprunfs_base/etc/resolv.conf b/lib/librumprunfs_base/etc/resolv.conf new file mode 100644 index 0000000..dee0fee --- /dev/null +++ b/lib/librumprunfs_base/etc/resolv.conf @@ -0,0 +1,8 @@ +# Edit resolver info below. +# +# NOTE: the Rumprun DHCP client does not currently generate +# this file, so if you want DNS to work, you even in DHCP scenarios +# you *MUST* include the nameserver here. +# (yes, the DHCP client should be fixed, but that's another story) + +# nameserver 1.2.3.4 diff --git a/lib/librumprunfs_base/etc/services b/lib/librumprunfs_base/etc/services new file mode 100644 index 0000000..b8d63c7 --- /dev/null +++ b/lib/librumprunfs_base/etc/services @@ -0,0 +1,393 @@ +# +# NOTE: this is last revision of /etc/services in NetBSD which isn't +# the full IANA list (which is megabytes in size) +# + +# $NetBSD: services,v 1.85 2007/04/20 16:18:02 pooka Exp $ +# +# Network services, Internet style +# +# Note that it is presently the policy of IANA to assign a single well-known +# port number for both TCP and UDP; hence, most entries here have two entries +# even if the protocol doesn't support UDP operations. +# Updated from RFC 1340, ``Assigned Numbers'' (July 1992). Not all ports +# are included, only the more common ones. +# The latest IANA list is available from: +# http://www.iana.org/assignments/port-numbers +# +# from: @(#)services 8.2 (Berkeley) 3/26/95 +# +tcpmux 1/tcp # TCP port multiplexer (RFC1078) +echo 7/tcp +echo 7/udp +discard 9/tcp sink null +discard 9/udp sink null +systat 11/tcp users +daytime 13/tcp +daytime 13/udp +netstat 15/tcp +qotd 17/tcp quote +msp 18/tcp # message send protocol +msp 18/udp +chargen 19/tcp ttytst source +chargen 19/udp ttytst source +ftp-data 20/tcp # default ftp data port +ftp 21/tcp # File Transfer Protocol +ssh 22/tcp # Secure Shell +ssh 22/udp +telnet 23/tcp +# 24 - private +smtp 25/tcp mail +# 26 - unassigned +time 37/tcp timserver +time 37/udp timserver +rlp 39/udp resource # resource location +nameserver 42/tcp name # IEN 116 +whois 43/tcp nicname +tacacs 49/tcp # Login Host Protocol (TACACS) +tacacs 49/udp # Login Host Protocol (TACACS) +domain 53/tcp # name-domain server +domain 53/udp +mtp 57/tcp # deprecated +bootps 67/tcp # BOOTP server +bootps 67/udp +bootpc 68/tcp # BOOTP client +bootpc 68/udp +tftp 69/udp # Trivial File Transfer Protocol +gopher 70/tcp # Internet Gopher +gopher 70/udp +rje 77/tcp netrjs +finger 79/tcp +http 80/tcp www www-http # WorldWideWeb HTTP +http 80/udp www www-http # HyperText Transfer Protocol +link 87/tcp ttylink +kerberos 88/tcp krb5 # Kerberos v5 +kerberos 88/udp +supdup 95/tcp +# 100 - reserved +hostnames 101/tcp hostname # usually from sri-nic +iso-tsap 102/tcp tsap # part of ISODE. +csnet-ns 105/tcp cso-ns # also used by CSO name server +csnet-ns 105/udp cso-ns +poppass 106/tcp poppassd +rtelnet 107/tcp # Remote Telnet +rtelnet 107/udp +pop2 109/tcp postoffice # POP version 2 +pop2 109/udp +pop3 110/tcp # POP version 3 +pop3 110/udp +sunrpc 111/tcp rpcbind # Remote Procedure Call +sunrpc 111/udp rpcbind +auth 113/tcp authentication tap ident +sftp 115/tcp +uucp-path 117/tcp +sqlserv 118/tcp # SQL Services +nntp 119/tcp readnews untp # USENET News Transfer Protocol +erpc 121/udp # Encore Expedited Remote Pro.Call +ntp 123/tcp +ntp 123/udp # Network Time Protocol +netbios-ns 137/tcp # NETBIOS Name Service +netbios-ns 137/udp +netbios-dgm 138/tcp # NETBIOS Datagram Service +netbios-dgm 138/udp +netbios-ssn 139/tcp # NETBIOS session service +netbios-ssn 139/udp +imap 143/tcp imap2 imap4 # Internet Message Access Protocol +imap 143/udp imap2 imap4 +snmp 161/udp # Simple Net Mgmt Proto +snmp-trap 162/udp snmptrap # Traps for SNMP +cmip-man 163/tcp # ISO mgmt over IP (CMOT) +cmip-man 163/udp +cmip-agent 164/tcp +cmip-agent 164/udp +mailq 174/tcp # zmailer MTA +xdmcp 177/tcp # X Display Mgr. Control Proto +xdmcp 177/udp +nextstep 178/tcp NeXTStep NextStep # NeXTStep window +nextstep 178/udp NeXTStep NextStep # server +bgp 179/tcp # Border Gateway Proto. +bgp 179/udp +prospero 191/tcp # Cliff Neuman's Prospero +prospero 191/udp +irc 194/tcp # Internet Relay Chat +irc 194/udp +smux 199/tcp # SNMP Unix Multiplexer +smux 199/udp +at-rtmp 201/tcp # AppleTalk routing +at-rtmp 201/udp +at-nbp 202/tcp # AppleTalk name binding +at-nbp 202/udp +at-echo 204/tcp # AppleTalk echo +at-echo 204/udp +at-zis 206/tcp # AppleTalk zone information +at-zis 206/udp +z3950 210/tcp wais # NISO Z39.50 database +z3950 210/udp wais +ipx 213/tcp # IPX +ipx 213/udp +imap3 220/tcp # Interactive Mail Access +imap3 220/udp # Protocol v3 +rsh-spx 222/tcp # Berkeley rshd with SPX auth +ulistserv 372/tcp # UNIX Listserv +ulistserv 372/udp +nip 376/tcp # Amiga Envoy Net Inquiry Prot. +nip 376/udp # Amiga Envoy Net Inquiry Prot. +ldap 389/tcp # Lightweight Directory Access Protocol +ldap 389/udp # Lightweight Directory Access Protocol +imsp 406/tcp # Interactive Mail Support Protocol +imsp 406/udp # Interactive Mail Support Protocol +microsoft-ds 445/tcp # Microsoft-DS +microsoft-ds 445/udp # Microsoft-DS +isakmp 500/tcp # IPsec Key Management (ISAKMP/Oakley) +isakmp 500/udp # IPsec Key Management (ISAKMP/Oakley) +ripng 521/tcp # RIP for IPv6 +ripng 521/udp # RIP for IPv6 +submission 587/tcp # Message Submission +submission 587/udp # Message Submission +acap 674/tcp # Application Configuration Access Protocol +acap 674/udp # Application Configuration Access Protocol +silc 706/tcp # Secure Internet Live Conferencing +silc 706/udp # Secure Internet Live Conferencing +iscsi-rfc 860/tcp # RFC port used by iSCSI targets + +# +# UNIX specific services +# +exec 512/tcp # Remote execution +biff 512/udp comsat # Biff the dog +login 513/tcp # Remote login +who 513/udp whod # Remote who +shell 514/tcp cmd # Remote command shell +syslog 514/udp # System logger +printer 515/tcp spooler # line printer spooler +talk 517/udp # Talk protocols +ntalk 518/udp +route 520/udp router routed # RIP +timed 525/udp timeserver +tempo 526/tcp newdate +courier 530/tcp rpc +conference 531/tcp chat +netnews 532/tcp +netwall 533/udp # -for emergency broadcasts +uucp 540/tcp uucpd # uucp daemon +rdist 541/tcp rdistd # rdist daemon +afpovertcp 548/tcp # AppleshareIP protocol +afpovertcp 548/udp # AppleshareIP protocol +remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem +# +webster 765/tcp # Network dictionary +webster 765/udp +rsync 873/tcp # rsync +rsync 873/udp # rsync + +# +# Various SSL services +# +https 443/tcp # http protocol over TLS/SSL +https 443/udp # http protocol over TLS/SSL +smtps 465/tcp # smtp protocol over TLS/SSL +smtps 465/udp # smtp protocol over TLS/SSL +nntps 563/tcp # nntp protocol over TLS/SSL (was snntp) +nntps 563/udp # nntp protocol over TLS/SSL (was snntp) +ldaps 636/tcp # ldap protocol over TLS/SSL (was sldap) +ldaps 636/udp # ldap protocol over TLS/SSL (was sldap) +ftps-data 989/tcp # ftp protocol, data, over TLS/SSL +ftps-data 989/udp # ftp protocol, data, over TLS/SSL +ftps 990/tcp # ftp protocol, control, over TLS/SSL +ftps 990/udp # ftp protocol, control, over TLS/SSL +telnets 992/tcp # telnet protocol over TLS/SSL +telnets 992/udp # telnet protocol over TLS/SSL +imaps 993/tcp # imap4 protocol over TLS/SSL +imaps 993/udp # imap4 protocol over TLS/SSL +ircs 994/tcp # irc protocol over TLS/SSL +ircs 994/udp # irc protocol over TLS/SSL +pop3s 995/tcp # pop3 protocol over TLS/SSL (was spop3) +pop3s 995/udp # pop3 protocol over TLS/SSL (was spop3) + +# +# From ``Assigned Numbers'': +# +#> The Registered Ports are not controlled by the IANA and on most systems +#> can be used by ordinary user processes or programs executed by ordinary +#> users. +# +#> Ports are used in the TCP [45,106] to name the ends of logical +#> connections which carry long term conversations. For the purpose of +#> providing services to unknown callers, a service contact port is +#> defined. This list specifies the port used by the server process as its +#> contact port. While the IANA can not control uses of these ports it +#> does register or list uses of these ports as a convenience to the +#> community. +# +ingreslock 1524/tcp +ingreslock 1524/udp +prospero-np 1525/tcp # Prospero non-privileged +prospero-np 1525/udp +radius 1812/tcp +radius 1812/udp +radius-acct 1813/tcp radacct +radius-acct 1813/udp radacct +cvspserver 2401/tcp +cvspserver 2401/udp +isns 3205/tcp # iSNS server port +isns 3205/udp # iSNS server port +iscsi 3260/tcp # Draft port used by iSCSI targets + # Will be moved to 860 after RFC + # is published +iscsi-target 3260/tcp # Draft port used by iSCSI targets +mysql 3306/tcp # MySQL +mysql 3306/udp # MySQL +svn 3690/tcp # Subversion +svn 3690/udp # Subversion +rfe 5002/tcp # Radio Free Ethernet +rfe 5002/udp # Actually uses UDP only +sip 5060/tcp # SIP +sip 5060/udp # SIP +postgresql 5432/tcp # PostgreSQL Database +postgresql 5432/udp # PostgreSQL Database + +# +# Kerberos (Project Athena/MIT) services +# (note that kerberos @ port 88 is sorted in the list above) +# +kpasswd 464/udp # Kerberos password changing protocol +kpasswd 464/tcp # Kerberos password changing protocol +klogin 543/tcp # Kerberos `rlogin' +kshell 544/tcp krcmd # Kerberos `rsh' +ekshell 545/tcp # Encrypted kshell +kerberos-adm 749/tcp # Kerberos `kadmin' (v5) +kerberos-iv 750/udp kdc kerberos4 # Kerberos (server) udp +kerberos-iv 750/tcp kdc kerberos4 # Kerberos (server) tcp +kerberos-master 751/udp # Kerberos admin server udp +kerberos-master 751/tcp # Kerberos admin server tcp +hprop 754/tcp # Heimdal KDC database propagation +krbupdate 760/tcp kreg # BSD Kerberos registration +kpwd 761/tcp # old BSD Kerberos `passwd' + # (formerly `kpasswd') +kpop 1109/tcp # Kerberos POP server +eklogin 2105/tcp # Kerberos encrypted `rlogin' +ekshell2 2106/tcp # Encrypted kshell - UColorado, Boulder +krb524 4444/udp # krb5 -> krb4 ticket conversion + +# +# AFS services +# +# IANA has these registered as both UDP and TCP, but only the UDP +# ports are used by the protocol +# +afs3-fileserver 7000/tcp # file server itself +afs3-fileserver 7000/udp # file server itself +afs3-callback 7001/tcp # callbacks to cache managers +afs3-callback 7001/udp # callbacks to cache managers +afs3-prserver 7002/tcp # users & groups database +afs3-prserver 7002/udp # users & groups database +afs3-vlserver 7003/tcp # volume location database +afs3-vlserver 7003/udp # volume location database +afs3-kaserver 7004/tcp # AFS/Kerberos authentication service +afs3-kaserver 7004/udp # AFS/Kerberos authentication service +afs3-volser 7005/tcp # volume management server +afs3-volser 7005/udp # volume management server +afs3-errors 7006/tcp # error interpretation service +afs3-errors 7006/udp # error interpretation service +afs3-bos 7007/tcp # basic overseer process +afs3-bos 7007/udp # basic overseer process +afs3-update 7008/tcp # server-to-server updater +afs3-update 7008/udp # server-to-server updater +afs3-rmtsys 7009/tcp # remote cache manager service +afs3-rmtsys 7009/udp # remote cache manager service +afs3-resserver 7010/tcp # MR-AFS residence server +afs3-resserver 7010/udp # MR-AFS residence server +afs3-remio 7011/tcp # MR-AFS remote IO server +afs3-remio 7011/udp # MR-AFS remote IO server + +# +# Unofficial but necessary (for NetBSD) services +# +supfilesrv 871/tcp # SUP server +supfiledbg 1127/tcp # SUP debugging + +# +# other common ports +# +swat 901/tcp # Samba Web Administration Tool +sieve 2000/tcp # RFC3028 +lmtp 2003/tcp # Local Mail Transfer Protocol +nfs 2049/udp nfsd # Sun NFS +nfs 2049/tcp nfsd # Sun NFS +suucp 4031/tcp # UUCP over SSL +suucp 4031/udp # UUCP over SSL +fud 4201/udp # Cyrus IMAP finger-like service +X11 6000/tcp # X Window System +ircd 6667/tcp # Often used IRC port (also see 194) +sstp-2 9801/tcp # Sakura Script Transfer Protocol-2 +sstp-2 9801/udp # Sakura Script Transfer Protocol-2 +amanda 10080/udp # Amanda +kamanda 10081/udp # Amanda with Kerberos +amandaidx 10082/tcp # Amanda index server +amidxtape 10083/tcp # Amanda dump image server +italk 12345/tcp # Italk Chat System +italk 12345/udp # Italk Chat System +hunt 26740/udp # multi-player/multi-host maze-wars + +# +# Netatalk (in-kernel Appletalk) services +# Note: The running kernel must be configured with "options NETATALK" +# and software not included in NetBSD, such as Netatalk version 1.4b2 +# or later, must be used to take advantage of these services. +# +rtmp 1/ddp # Routing Table Maintenance Protocol +nbp 2/ddp # Name Binding Protocol +echo 4/ddp # AppleTalk Echo Protocol +zip 6/ddp # Zone Information Protocol + +# Iana registered Coda filesystem port numbers +rpc2portmap 369/tcp +rpc2portmap 369/udp # Coda portmapper +codaauth2 370/tcp +codaauth2 370/udp # Coda authentication server + +# Iana registered dict port numbers +dict 2628/tcp # DICT +dict 2628/udp + +venus 2430/tcp # codacon port +venus 2430/udp # Venus callback/wbc interface +venus-se 2431/tcp # tcp side effects +venus-se 2431/udp # udp sftp side effect +codasrv 2432/tcp # not used +codasrv 2432/udp # server port +codasrv-se 2433/tcp # tcp side effects +codasrv-se 2433/udp # udp sftp side effect + +# 9P file and resource sharing protocol +9pfs 564/tcp +9pfs 564/udp + +# Iana registered ports commonly found in security logs +epmap 135/tcp # DCE endpoint resolution +epmap 135/udp # DCE endpoint resolution +rtsp 554/tcp # Real Time Stream Control Protocol +rtsp 554/udp # Real Time Stream Control Protocol +socks 1080/tcp # Socks +socks 1080/udp # Socks +kazaa 1214/tcp # KAZAA +kazaa 1214/udp # KAZAA +ms-sql-s 1433/tcp # Microsoft-SQL-Server +ms-sql-s 1433/udp # Microsoft-SQL-Server +ms-sql-m 1434/tcp # Microsoft-SQL-Monitor +ms-sql-m 1434/udp # Microsoft-SQL-Monitor +ms-wbt-server 3389/tcp # MS WBT Server +ms-wbt-server 3389/udp # MS WBT Server +terabase 4000/tcp icq # used for both Terabase and ICQ +terabase 4000/udp icq # used for both Terabase and ICQ +radmin-port 4899/tcp # RAdmin Port +radmin-port 4899/udp # RAdmin Port +mdns 5353/tcp # Multicast DNS +mdns 5353/udp # Multicast DNS +http-alt 8080/tcp # HTTP Alternate (see port 80) +http-alt 8080/udp # HTTP Alternate (see port 80) + +# Zephyr services +zephyr-clt 2103/udp # Zephyr serv-hm connection +zephyr-hm 2104/udp # Zephyr hostmanager +zephyr-hm-srv 2105/udp # Zephyr hm-serv connection diff --git a/lib/librumprunfs_base/etc/spwd.db b/lib/librumprunfs_base/etc/spwd.db new file mode 100644 index 0000000000000000000000000000000000000000..daf6fb9eb45a087af9fc223e190a5893f5d70458 GIT binary patch literal 40960 zcmeI)u}U047zglAJv4L;qW+C9|COEy;0Mzx+}33YsYmps`}%> za9meSbMN8JGJ0x}jdE;W+5exWFXj+x3?U?Umaohx*@q|36C~(|*qF%Jc*X5FkK+ z009C72oNAZfWYGf+S|CV-;{dl_y6@$U^afHAL(1p<9?O52oNAZfB*pk1PBlyK!5;& z=@ck`BY6L2_ubo_?de>gRS_USfB*pk1PBlyK!5-N0<8*sztRX0AV7cs0RjXF5FkK+ J0D+e-a1H-^TnhjI literal 0 HcmV?d00001 diff --git a/platform/Makefile.inc b/platform/Makefile.inc index 54cfeab..3b37c7a 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -12,6 +12,7 @@ INSTALLTGTS+= librumpkern_mman_install ifneq (${KERNONLY},true) TARGETS+= userlibs INSTALLTGTS+= librumprun_base_install librumprun_tester_install2 +INSTALLTGTS+= librumprunfs_base_install ifeq (${CONFIG_CXX},yes) INSTALLTGTS+= libunwind_install2 endif @@ -64,6 +65,7 @@ $(eval $(call BUILDLIB_target,librumpkern_bmktc)) $(eval $(call BUILDLIB_target,librumpkern_mman)) $(eval $(call BUILDLIB_target,librumprun_base)) $(eval $(call BUILDLIB_target,librumprun_tester)) +$(eval $(call BUILDLIB_target,librumprunfs_base)) $(eval $(call BUILDLIB_target,libcompiler_rt,RUMPSRC=${RUMPSRC})) ifeq (${CONFIG_CXX},yes) $(eval $(call BUILDLIB_target,libunwind)) @@ -79,7 +81,7 @@ ${RROBJ}/bmk.ldscript: ${LDSCRIPT} ln -sf $< $@ commonlibs: platformlibs userlibs -userlibs: ${PSEUDOSTUBS}.o ${RROBJLIB}/librumprun_base/librumprun_base.a ${RROBJLIB}/librumprun_tester/librumprun_tester.a ${LIBUNWIND} +userlibs: ${PSEUDOSTUBS}.o ${RROBJLIB}/librumprun_base/librumprun_base.a ${RROBJLIB}/librumprun_tester/librumprun_tester.a ${LIBUNWIND} ${RROBJLIB}/librumprunfs_base/librumprunfs_base.a platformlibs: ${RROBJLIB}/libbmk_core/libbmk_core.a ${RROBJLIB}/libbmk_rumpuser/libbmk_rumpuser.a ${RROBJ}/bmk.ldscript rumpkernlibs: ${RROBJLIB}/librumpkern_bmktc/librumpkern_bmktc.a ${RROBJLIB}/librumpkern_mman/librumpkern_mman.a compiler_rt: ${RROBJLIB}/libcompiler_rt/libcompiler_rt.a -- 2.39.5