#!/bin/bash # -*- coding: utf-8 -*- # # nacl_build.sh -- NaCl library build script # # Copyright (C) 2011 Daniel Borkmann <borkmann@redhat.com> # Copyright (C) 2009-2011 Emmanuel Roullit <emmanuel@netsniff-ng.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. cc="gcc" nacl_dir="/tmp" nacl_version="nacl-20110221" nacl_suffix="tar.bz2" nacl_base_url="http://hyperelliptic.org/nacl" nacl_path="$nacl_dir/$nacl_version.$nacl_suffix" nacl_build_dir="$1" if test -z "$nacl_build_dir"; then echo "Please input the path where NaCl should be build" exit 1 fi if ! test -d "$nacl_build_dir"; then mkdir "$nacl_build_dir" fi wget -O "$nacl_path" "$nacl_base_url/$nacl_version.$nacl_suffix" tar xjf "$nacl_path" -C "$nacl_build_dir" $cc -Wall -O2 ./abiname.c -o ./abiname arch="`./abiname`" shorthostname=$(hostname | sed 's/\..*//' | tr -cd '[a-z][A-Z][0-9]') echo "Building NaCl for arch $arch on host $shorthostname (grab a coffee, this takes a while) ..." cd "$nacl_build_dir"/"$nacl_version" ./do cd $OLDPWD > /dev/null nacl_lib_path="$nacl_build_dir/$nacl_version/build/$shorthostname/lib/$arch" nacl_include_path="$nacl_build_dir/$nacl_version/build/$shorthostname/include/$arch" echo "NaCl lib path $nacl_lib_path" echo "NaCl include path $nacl_include_path" ./nacl_path.sh "$nacl_include_path" "$nacl_lib_path" echo "Done!" ht'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=d6040764adcb5cb6de1489422411d701c158bb69'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/include/rdma/ib_sa.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/rdma/ib_sa.h?id=d6040764adcb5cb6de1489422411d701c158bb69'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/include/rdma/ib_sa.h?id=d6040764adcb5cb6de1489422411d701c158bb69'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/rdma/ib_sa.h?id=d6040764adcb5cb6de1489422411d701c158bb69'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/rdma/ib_sa.h'> <input type='hidden' name='id' value='d6040764adcb5cb6de1489422411d701c158bb69'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/commit/?id=d6040764adcb5cb6de1489422411d701c158bb69'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include?id=d6040764adcb5cb6de1489422411d701c158bb69'>include</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/rdma?id=d6040764adcb5cb6de1489422411d701c158bb69'>rdma</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/rdma/ib_sa.h?id=d6040764adcb5cb6de1489422411d701c158bb69'>ib_sa.h</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='d6040764adcb5cb6de1489422411d701c158bb69'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'> <tr><th>author</th><td>Salvatore Benedetto <salvatore.benedetto@intel.com></td><td class='right'>2017-01-13 11:54:08 +0000</td></tr> <tr><th>committer</th><td>Herbert Xu <herbert@gondor.apana.org.au></td><td class='right'>2017-01-23 22:41:32 +0800</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/rdma/ib_sa.h?id=d6040764adcb5cb6de1489422411d701c158bb69'>d6040764adcb5cb6de1489422411d701c158bb69</a> (<a href='/cgit.cgi/linux/net-next.git/patch/include/rdma/ib_sa.h?id=d6040764adcb5cb6de1489422411d701c158bb69'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=d6040764adcb5cb6de1489422411d701c158bb69'>ec8f34788bcdeaa9dc8f69c58af4c005d1e49021</a> /<a href='/cgit.cgi/linux/net-next.git/tree/include/rdma/ib_sa.h?id=d6040764adcb5cb6de1489422411d701c158bb69'>include/rdma/ib_sa.h</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/rdma/ib_sa.h?id=07825f0acd85dd8b7481d5ef0eb024b05364d892'>07825f0acd85dd8b7481d5ef0eb024b05364d892</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/rdma/ib_sa.h?id=d6040764adcb5cb6de1489422411d701c158bb69&id2=07825f0acd85dd8b7481d5ef0eb024b05364d892'>diff</a>)</td></tr></table> <div class='commit-subject'>crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg</div><div class='commit-msg'>Make sure CRYPTO_ALG_DEAD bit is cleared before proceeding with the algorithm registration. This fixes qat-dh registration when driver is restarted Cc: <stable@vger.kernel.org> Signed-off-by: Salvatore Benedetto <salvatore.benedetto@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=d6040764adcb5cb6de1489422411d701c158bb69'>Diffstat</a> (limited to 'include/rdma/ib_sa.h')</div><table summary='diffstat' class='diffstat'>