~ubuntu-branches/ubuntu/trusty/eglibc/trusty

« back to all changes in this revision

Viewing changes to sysdeps/unix/sysv/linux/s390/sys/ptrace.h

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2013-01-10 18:39:35 UTC
  • mfrom: (1.5.2) (4.4.24 experimental)
  • Revision ID: package-import@ubuntu.com-20130110183935-afsgfxkmg7wk5eaj
Tags: 2.17-0ubuntu1
* Merge with Debian, bringing in a new upstream and many small fixes:
  - patches/any/cvs-malloc-deadlock.diff: Dropped, merged upstream.
  - patches/ubuntu/lddebug-scopes.diff: Rebase for upstream changes.
  - patches/ubuntu/local-CVE-2012-3406.diff: Rebased against upstream.
  - patches/ubuntu/no-asm-mtune-i686.diff: Fixed in recent binutils.
* This upstream merge fixes a nasty hang in pulseaudio (LP: #1085342)
* Bump MIN_KERNEL_SUPPORTED to 2.6.32 on ARM, now that we no longer
  have to support shonky 2.6.31 kernels on imx51 babbage builders.
* Drop patches/ubuntu/local-disable-nscd-host-caching.diff, as these
  issues were apparently resolved upstream a while ago (LP: #613662)
* Fix the compiled-in bug URL to point to launchpad.net, not Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* `ptrace' debugger support interface.  Linux version.
2
 
   Copyright (C) 2000, 2006, 2007, 2011 Free Software Foundation, Inc.
 
2
   Copyright (C) 2000-2012 Free Software Foundation, Inc.
3
3
   Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com).
4
4
   This file is part of the GNU C Library.
5
5
 
165
165
};
166
166
 
167
167
/* Options set using PTRACE_SETOPTIONS.  */
168
 
enum __ptrace_setoptions {
 
168
enum __ptrace_setoptions
 
169
{
169
170
  PTRACE_O_TRACESYSGOOD = 0x00000001,
170
171
  PTRACE_O_TRACEFORK    = 0x00000002,
171
172
  PTRACE_O_TRACEVFORK   = 0x00000004,
173
174
  PTRACE_O_TRACEEXEC    = 0x00000010,
174
175
  PTRACE_O_TRACEVFORKDONE = 0x00000020,
175
176
  PTRACE_O_TRACEEXIT    = 0x00000040,
176
 
  PTRACE_O_MASK         = 0x0000007f
 
177
  PTRACE_O_TRACESECCOMP = 0x00000080,
 
178
  PTRACE_O_MASK         = 0x000000ff
177
179
};
178
180
 
179
181
/* Wait extended result codes for the above trace options.  */
180
 
enum __ptrace_eventcodes {
 
182
enum __ptrace_eventcodes
 
183
{
181
184
  PTRACE_EVENT_FORK     = 1,
182
185
  PTRACE_EVENT_VFORK    = 2,
183
186
  PTRACE_EVENT_CLONE    = 3,
184
187
  PTRACE_EVENT_EXEC     = 4,
185
188
  PTRACE_EVENT_VFORK_DONE = 5,
186
 
  PTRACE_EVENT_EXIT     = 6
 
189
  PTRACE_EVENT_EXIT     = 6,
 
190
  PTRACE_EVENT_SECCOMP  = 7
187
191
};
188
192
 
189
193
/* Perform process tracing functions.  REQUEST is one of the values
195
199
   appear (those that are used for the particular request) as:
196
200
     pid_t PID, void *ADDR, int DATA, void *ADDR2
197
201
   after REQUEST.  */
198
 
extern long int ptrace (enum __ptrace_request __request, ...);
 
202
extern long int ptrace (enum __ptrace_request __request, ...) __THROW;
199
203
 
200
204
__END_DECLS
201
205