~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to src/pkg/syscall/mkerrors.sh

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2011-08-03 17:04:59 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110803170459-wzd99m3567y80ila
Tags: 1:59-1
* Imported Upstream version 59
* Refresh patches to a new release
* Fix FTBFS on ARM (Closes: #634270)
* Update version.bash to work with Debian packaging and not hg
  repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include <sys/stat.h>
29
29
#include <sys/types.h>
30
30
#include <linux/if_addr.h>
 
31
#include <linux/if_ether.h>
31
32
#include <linux/if_tun.h>
 
33
#include <linux/filter.h>
32
34
#include <linux/netlink.h>
33
35
#include <linux/reboot.h>
34
36
#include <linux/rtnetlink.h>
45
47
#define _DARWIN_USE_64_BIT_INODE
46
48
#include <sys/types.h>
47
49
#include <sys/event.h>
 
50
#include <sys/ptrace.h>
48
51
#include <sys/socket.h>
49
52
#include <sys/sockio.h>
50
53
#include <sys/sysctl.h>
57
60
#include <netinet/in.h>
58
61
#include <netinet/ip.h>
59
62
#include <netinet/ip_mroute.h>
 
63
#include <termios.h>
60
64
'
61
65
 
62
66
includes_freebsd='
66
70
#include <sys/sockio.h>
67
71
#include <sys/sysctl.h>
68
72
#include <sys/wait.h>
 
73
#include <sys/ioctl.h>
69
74
#include <net/bpf.h>
70
75
#include <net/if.h>
71
76
#include <net/if_types.h>
72
77
#include <net/route.h>
73
78
#include <netinet/in.h>
 
79
#include <termios.h>
74
80
#include <netinet/ip.h>
75
81
#include <netinet/ip_mroute.h>
76
82
'
134
140
                $2 == "CTL_MAXNAME" ||
135
141
                $2 ~ /^(MS|MNT)_/ ||
136
142
                $2 ~ /^TUN(SET|GET|ATTACH|DETACH)/ ||
137
 
                $2 ~ /^(O|F|FD|NAME|S|PTRACE)_/ ||
 
143
                $2 ~ /^(O|F|FD|NAME|S|PTRACE|PT)_/ ||
138
144
                $2 ~ /^LINUX_REBOOT_CMD_/ ||
139
145
                $2 ~ /^LINUX_REBOOT_MAGIC[12]$/ ||
140
146
                $2 !~ "NLA_TYPE_MASK" &&
141
 
                $2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|RTM|RTN|RTPROT|RTA|RTAX|RTNH|ARPHRD)_/ ||
 
147
                $2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|RTM|RTN|RTPROT|RTA|RTAX|RTNH|ARPHRD|ETH_P)_/ ||
142
148
                $2 ~ /^SIOC/ ||
 
149
                $2 ~ /^TIOC/ ||
143
150
                $2 ~ /^(IFF|IFT|NET_RT|RTM|RTF|RTV|RTA|RTAX)_/ ||
144
151
                $2 ~ /^BIOC/ ||
145
152
                $2 !~ /^(BPF_TIMEVAL)$/ &&