1# Copyright 2015 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5"""Defines constants for signals that should be supported on devices. 6 7Note: Obtained by running `kill -l` on a user device. 8""" 9 10 11SIGHUP = 1 # Hangup 12SIGINT = 2 # Interrupt 13SIGQUIT = 3 # Quit 14SIGILL = 4 # Illegal instruction 15SIGTRAP = 5 # Trap 16SIGABRT = 6 # Aborted 17SIGBUS = 7 # Bus error 18SIGFPE = 8 # Floating point exception 19SIGKILL = 9 # Killed 20SIGUSR1 = 10 # User signal 1 21SIGSEGV = 11 # Segmentation fault 22SIGUSR2 = 12 # User signal 2 23SIGPIPE = 13 # Broken pipe 24SIGALRM = 14 # Alarm clock 25SIGTERM = 15 # Terminated 26SIGSTKFLT = 16 # Stack fault 27SIGCHLD = 17 # Child exited 28SIGCONT = 18 # Continue 29SIGSTOP = 19 # Stopped (signal) 30SIGTSTP = 20 # Stopped 31SIGTTIN = 21 # Stopped (tty input) 32SIGTTOU = 22 # Stopped (tty output) 33SIGURG = 23 # Urgent I/O condition 34SIGXCPU = 24 # CPU time limit exceeded 35SIGXFSZ = 25 # File size limit exceeded 36SIGVTALRM = 26 # Virtual timer expired 37SIGPROF = 27 # Profiling timer expired 38SIGWINCH = 28 # Window size changed 39SIGIO = 29 # I/O possible 40SIGPWR = 30 # Power failure 41SIGSYS = 31 # Bad system call 42