This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .DEFAULT_GOAL := all | |
| .PHONY: ${MAKECMDGOALS} | |
| $(filter-out all,${MAKECMDGOALS}) all: .forward-all ; | |
| .forward-all: | |
| ${MAKE} -C build ${MAKECMDGOALS} | |
| ${MAKEFILE_LIST}: ; | |
| .SUFFIXES: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * issetugid implementation for Linux | |
| * Public domain | |
| */ | |
| #include <errno.h> | |
| #include <gnu/libc-version.h> | |
| #include <string.h> | |
| #include <sys/types.h> | |
| #include <unistd.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* vi: set sw=4 ts=4: */ | |
| /* | |
| * Mini ping implementation for busybox | |
| * | |
| * Copyright (C) 1999 by Randolph Chung <[email protected]> | |
| * | |
| * Adapted from the ping in netkit-base 0.10: | |
| * Copyright (c) 1989 The Regents of the University of California. | |
| * All rights reserved. | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| #include <time.h> | |
| #include <sys/param.h> | |
| #include <sys/socket.h> | |
| #include <linux/sockios.h> | |
| #include <sys/file.h> | |
| #include <sys/time.h> | |
| #include <signal.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ### Binaries | |
| SCREEN=$(which screen) | |
| LXCSTART=$(which lxc-start) | |
| LXCSTOP=$(which lxc-stop) | |
| ### Configuration to get lxc directory | |
| LXCCONF="/etc/default/lxc" | |
| ERR=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Copyright (C) 2013, Felix Janda <[email protected]> | |
| Permission to use, copy, modify, and/or distribute this software for | |
| any purpose with or without fee is hereby granted, provided that the | |
| above copyright notice and this permission notice appear in all copies. | |
| SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
| WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
| MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | |
| ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define _XOPEN_SOURCE 700 | |
| #include <signal.h> | |
| #include <unistd.h> | |
| int main() | |
| { | |
| sigset_t set; | |
| int status; | |
| if (getpid() != 1) return 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/perl -w | |
| # | |
| # Used to regenerate ca-bundle.crt from the Mozilla certdata.txt. | |
| # Run as ./mkcabundle.pl > ca-bundle.crt | |
| # | |
| my $cvsroot = ':pserver:[email protected]:/cvsroot'; | |
| my $certdata = 'mozilla/security/nss/lib/ckfw/builtins/certdata.txt'; | |
| open(IN, "cvs -d $cvsroot co -p $certdata|") |